Terminate a cluster

To terminate a cluster in Mission Control, you must remove the cluster’s resource from Mission Control. This triggers Mission Control to remove associated resources and data. You can terminate a cluster either in the Mission Control UI or through the kubectl CLI.

To retain the Persistent Volume (PV) after the MissionControlCluster is deleted, use a StorageClass whose reclaimPolicy is set to Retain.

To terminate a cluster, you need the following:

  • UI

  • CLI

To terminate a cluster, do the following:

  1. In the Mission Control UI, go to Clusters, and then select your cluster.

  2. Click Terminate Cluster. A confirmation dialog appears.

  3. Enter your cluster name, and then click Terminate Cluster. The cluster is permanently deleted.

To terminate a cluster, delete the MissionControlCluster resource:

kubectl delete missioncontrolcluster <`NAME> -n <PROJECT_SLUG`>

Replace the following:

  • NAME: The name of the MissionControlCluster resource

  • PROJECT_SLUG: The namespace of the project

This command deletes the associated MissionControlCluster object, and then Mission Control automatically cleans up associated resources across the local Control Plane and any remote Data Planes.

When multiple data plane clusters have nodes that cannot communicate with each other, the deletion operation continues. However, when the Control Plane is not communicating with the Data Plane, Mission Control can’t communicate with the Kubernetes API server in the Data Plane cluster, and the deletion operation pauses.

Terminate with a MissionControlCluster Custom Resource

kubectl delete -f <`CLUSTER_NAME`>.yaml

Replace CLUSTER_NAME with the name of your cluster.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com