In case you want to delete the Koperator from your cluster, note that because of dependencies between the various components, they must be deleted in specific order.
CAUTION:It’s important to delete the Koperator deployment as the last step.
- Delete the KafkaCluster custom resources that represent the Kafka cluster and Cruise Control.
- 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.
- Delete the Koperator deployment.