Remove a Cluster with the Hazelcast Platform Operator for Kubernetes
This topic explains how to remove a cluster using the Hazelcast Platform Operator for Kubernetes.
Remove a cluster
To remove a Hazelcast cluster and Hazelcast License Key Secret, run the following commands:
kubectl delete -f hazelcast-enterprise.yaml
kubectl delete secret hazelcast-license-key
oc delete -f hazelcast-enterprise.yaml
oc delete secret hazelcast-license-key
Finally, run the command below to delete the Hazelcast Platform Operator deployment.
helm uninstall operator
If you installed the CRDs separately from the operator, you need to remove them by running the following command:
helm uninstall operator-crds