Upgrade the operator
When upgrading your Koperator deployment to a new version, complete the following steps.
-
Update the CRDs for the new release from the main repository.
CAUTION:
Hazard of data loss Do not delete the old CRD from the cluster. Deleting the CRD removes your Kafka cluster. -
Replace the KafkaCluster CRDs with the new ones on your cluster by running the following commands:
kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/master/config/base/crds/kafka.banzaicloud.io_cruisecontroloperations.yaml kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/master/config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/master/config/base/crds/kafka.banzaicloud.io_kafkatopics.yaml kubectl apply -f https://raw.githubusercontent.com/adobe/koperator/refs/heads/master/config/base/crds/kafka.banzaicloud.io_kafkausers.yaml
-
Update your Koperator deployment by running:
helm upgrade kafka-operator \ oci://ghcr.io/adobe/helm-charts/kafka-operator \ --namespace=kafka