25.8. Checking the status of an upgrade
When performing an upgrade (or downgrade), you can check it completed successfully in the status of the Kafka custom resource. The status provides information on the Streams for Apache Kafka and Kafka versions being used.
To ensure that you have the correct versions after completing an upgrade, verify the kafkaVersion and operatorLastSuccessfulVersion values in the Kafka status.
-
operatorLastSuccessfulVersionis the version of the Streams for Apache Kafka operator that last performed a successful reconciliation. -
kafkaVersionis the the version of Kafka being used by the Kafka cluster. -
kafkaMetadataVersionis the metadata version used by KRaft-based Kafka clusters
You can use these values to check an upgrade of Streams for Apache Kafka or Kafka has completed.
Checking an upgrade from the Kafka status
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
spec:
# ...
status:
# ...
kafkaVersion: 3.7.0
operatorLastSuccessfulVersion: 2.7
kafkaMetadataVersion: 3.7