Connecting Clusters

This section describes how to connect Kubernetes clusters using the Magic Link in the UI. For greater control and automation, visit CLI Cluster Management.

There are two steps to adding clusters using the Shipa dashboard.

  • Get Cluster connection Magic Link.
  • Use kubectl to install charts using Magic Link URL on the cluster

The sections below explain each of the three parts in detail.

Connecting Cluster

Connecting Cloud Video

Video on connecting a Kubernetes Cluster on Shipa Cloud via the Magic Link. Instructions are below.

Cluster Magic Link

Click on https://apps.shipa.cloud/clusters and click on Connect Cluster button

1389

Run the command below within your cluster to get its control plane address:

kubectl cluster-info | grep 'Kubernetes' | awk '/http/ {print $NF}'

Copy the cluster's control plane address and paste it into the Connect cluster window as shown below:

1388

Click on Generate Command and copy the result to run it in your terminal. Please make sure you have switched the context to the cluster that you plan to connect to Shipa:

1390

In a few minutes, the new cluster should appear on the dashboard:

1392

You can also monitor events to see how the connection is progressing:

1389

Additionally, you can run kubectl get pods -Aw to monitor how Shipa's control plane is installed on the connected cluster:

989

At this point you can start deploying application, click on https://apps.shipa.cloud/applications/apps or follow our application deployment guide at https://learn.shipa.io/docs/deploying-on-shipa.

📘

More Connectivity Flexability - Shipa CLI

By running the Shipa CLI, can have more connectivity options e.g naming the cluster with the current kubectl context.

kubectl apply -f $(shipa cluster connect -n cluster-name -c)

What’s Next

Cluster integration can also be managed directly through the Shipa CLI. For more information, please visit the page below: