Strimzi upgrades¶
It is recommended that you perform incremental upgrades of the Strimzi operator as soon as new versions become available.
In Phalanx, dependabot will detect a new version of Strimzi.
Once you merge the dependabot PR into the main
branch, you can sync the Strimzi app in Argo CD.
This operation will upgrade the operator to the latest version and will trigger a Kafka rollout in the namespaces watched by Strimzi.
Note
Before upgrading Strimzi, ensure that the latest version of the operator is compatible with the Kubernetes version running in your cluster.
If the currently deployed Kafka version is not supported by the latest operator, the operator will fail to initiate a Kafka rollout and will display an error. See Kafka upgrades for instructions on upgrading Kafka.
Kafka upgrades¶
Each Strimzi release supports a range of Kafka versions. It is recommended that you always use the latest version of Kafka that is supported by the operator.
Sasquatch deploys Kafka in KRaft mode.
Upgrading the Kafka brokers and client applications in Sasquatch (Kafka Connect and Mirror Maker 2) involves updating the Kafka version
in sasquatch/charts/strimzi-kafka/values.yaml
.
Note that you do not explicitly set the Kafka metadataVersion
in Sasquatch; instead, Strimzi automatically updates it to the current default after you update the Kafka version.
Note
When upgrading Kafka from an unsupported version to a supported version, an outage will occur during the upgrade of the second broker. This happens because, while the first broker will be running the new version supported by the operator, the third broker will still be on an unsupported version. Since Sasquatch requires a minimum of two in-sync replicas for each Kafka topic, this mismatch would cause an outage.
If your current version of Kafka is not supported by the new version of the operator, to avoid an outage during the upgrades, first update Kafka to a supported version and then update the operator.
Refer to the Strimzi documentation for more details.