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 |
To terminate a cluster, you need the following:
-
A prepared environment on either bare-metal/VM or an existing Kubernetes cluster.
-
UI
-
CLI
To terminate a cluster, do the following:
-
In the Mission Control UI, go to Clusters, and then select your cluster.
-
Click Terminate Cluster. A confirmation dialog appears.
-
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 theMissionControlCluster
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 |
Terminate with a MissionControlCluster Custom Resource
kubectl delete -f <`CLUSTER_NAME`>.yaml
Replace CLUSTER_NAME
with the name of your cluster.