Terminate a DataStax Enterprise (DSE) cluster

The Mission Control operators manage or reconcile DataStax Enterprise (DSE) clusters. Terminating a cluster is a straightforward and simple task.

Prerequisites

Terminate a DSE cluster

Terminate a DSE cluster with the kubectl delete missioncontrolcluster cluster-name command. This command deletes the associated MissionControlCluster object and Mission Control automatically handle cleanup of associated resources across Data Planes.

In the case where multiple data plane clusters have DSE nodes that cannot communicate with each other, the deletion operation continues. However, in the case where the Control Plane is not communicating with the Data Plane, Mission Control is not able to communicate with the Kubernetes API server in the Data Plane cluster, and the deletion operation is halted.

Terminate with a MissionControlCluster Custom Resource

kubectl delete -f my-cluster.dsecluster.yaml

Terminate with a Given Cluster Name

kubectl delete dsecluster my-cluster

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

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