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

Run command below to get cluster's control plane address:

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

Copy cluster control plane address from command above and paste it in Connect cluster as shown below:

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

In few mins new cluster should appear on dashboard:

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

Additionally you can run kubectl get pods -Aw to monitor how shipa control plane is setup on the connected cluster:

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:

Did this page help you?