Delete the operator

In case you want to delete Koperator from your cluster, note that because of dependencies between the various components, they must be deleted in specific order.


It’s important to delete the Koperator deployment as the last step.
  1. Delete the KafkaCluster custom resources that represent the Kafka cluster and Cruise Control.
  2. Wait until Koperator deletes all resources. Note that KafkaCluster, KafkaTopic and KafkaUser custom resources are protected with Kubernetes finalizers, so those won’t be actually deleted from Kubernetes until the Koperator removes those finalizers. After the Koperator has finished cleaning up everything, it removes the finalizers. In case you delete the Koperator deployment before it cleans up everything, you need to remove the finalizers manually.
  3. Delete the Koperator deployment.