Upgrade the operator

Upgrade the operator

When upgrading your Koperator deployment to a new version, complete the following steps.

  1. 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.
  2. 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
  3. Update your Koperator deployment by running (OCI registries have no floating “latest” tag, so --version is required):

    helm upgrade kafka-operator \
    oci://ghcr.io/adobe/helm-charts/kafka-operator \
    --namespace=kafka \
    --version 0.28.0-adobe-20260622