Clusters

In the Clusters page, you can view, add, edit, and remove clusters for Kubernetes. From the menu bar, go to Configuration > Settings in the General section.

Adding a cluster

Take the following steps to add a cluster in your CloudCasa account:

  1. Click Add cluster + to open the Add cluster pane.

  2. Fill in the following fields:

    Name

    Enter a name of the cluster.

    Description (optional)

    Enter description for the cluster.

    Advanced options ► Add tags (optional)

    Enter the key-value pairs for the tags of the cluster. For example, team:marketing.

    Advanced options ► Default backup destination for cluster (optional)

    Select either one of the following options:

    • Use global default

    • CloudCasa Storage

    • My Storage

    See also

    See the following topics for details about the storage:

    Click Save.

  3. In the next page of the Add cluster pane, ensure that you can see basic information of the new cluster and the status is showing REGISTERED. See the kubectl command to register the new cluster information with your Kubernetes system; copy this shell command and run it in the shell of your Kuberneetes master node.

    Click OK to close the Add cluster pane. Ensure that you can see the new cluster in the list.

Removing a cluster

In the cluster list, click Remove and follow the instructions.

Attention

After removing the cluster, manually remove the PV snapshots that are managed by CloudCasa for the removed cluster.

If you are deleting a cluster of Kubernetes, you have to run the following shell commands on the cluster node:

$ kubectl delete namespace/cloudcasa-io clusterrolebinding/cloudcasa-io
$ kubectl delete crds -l component=kubeagent-backup-helper

Ensure that you do not see the cluster in the list.