Outdated Version

You are viewing an older version of this section. View current production version.

Delete a Cluster or Operator

Delete the Cluster

To delete the MemSQL/SingleStore DB cluster, run the following commands.

  1. Delete the cluster.

    kubectl delete -f memsql-cluster.yaml
  2. List the PersistentVolumeClaim(s).

    kubectl get pvc
  3. Delete the associated PersistentVolumeClaim(s).

    kubectl delete pvc <identified PVC(s) from the memsql-cluster deployment>

Delete the Operator

To delete the Operator, run the following command.

Note: As deleting the Operator will not delete the cluster, there will no longer be an Operator available to manage the remaining cluster.

kubectl delete -f deployment.yaml