Skip to content

0.46.0

Latest
Compare
Choose a tag to compare
@ppatierno ppatierno released this 03 May 20:47
· 36 commits to main since this release

⚠️ Important: Strimzi 0.46.0 supports only Kubernetes 1.25 and newer. Kubernetes 1.23 and 1.24 are not supported anymore.

⚠️ Support for ZooKeeper-based Apache Kafka clusters and for KRaft migration has been removed

Main changes since 0.45.0

This release contains the following new features and improvements:

  • Add support for Kafka 4.0.0.
    Remove support for Kafka 3.8.0 and 3.8.1.
  • Support for ZooKeeper-based Apache Kafka clusters and for KRaft migration has been removed
  • Support for MirrorMaker 1 has been removed
  • Support for storage class overrides has been removed
  • Added support to configure dnsPolicy and dnsConfig using the template sections.
  • Store Kafka node certificates in separate Secrets, one Secret per pod.
  • Allow configuring ssl.principal.mapping.rules and custom trusted CAs in Kafka brokers with type: custom authentication
  • Moved HTTP bridge configuration to the ConfigMap setup by the operator.
  • Dependency updates (Vert.x 4.5.14, Netty 4.1.118.Final)
  • Moved Kafka Connect configuration to the ConfigMap created by the operator.
  • Update Kafka Exporter to 1.9.0
  • Adopted new Kafka Connect health check endpoint (see proposal 89).
  • Update standalone User Operator to handle Cluster CA cert Secret being missing when TLS is not needed.
  • Strimzi Drain Cleaner updated to 1.3.0 (included in the Strimzi installation files)
  • Implicit IPv4 preference when enabling JMX has been removed, and will now use JVM defaults.
    This will make the cluster boot up correctly in IPv6 only environments, where IPv4 preference will break it due to lack of IPv4 addresses.
  • Improved the MirrorMaker2 example Grafana dashboard to set metric units and include chart descriptions.
  • The ContinueReconciliationOnManualRollingUpdateFailure feature gate moves to GA stage and is permanently enabled without the possibility to disable it.
  • Update OAuth library to 0.16.2.
  • Update HTTP bridge to 0.32.0.
  • Kubernetes events emitted during a Pod restart updated to have the Kafka resource as the regardingObject and the Pod in the related field.

All changes can be found under the 0.46.0 milestone.

Watch out also for some notable changes, deprecations, and removals:

  • Support for ZooKeeper-based clusters and for migration from ZooKeeper-based clusters to KRaft has been removed.
    Please make sure all your clusters are using KRaft before upgrading to Strimzi 0.46.0 or newer!
  • Support for MirrorMaker 1 has been removed.
    Please make sure to migrate to MirrorMaker 2 before upgrading to Strimzi 0.46 or newer.
  • Strimzi EnvVar Configuration Provider (deprecated in Strimzi 0.38.0) and Strimzi MirrorMaker 2 Extensions (deprecated in Strimzi 0.28.0) plugins were removed from Strimzi container images.
    Please use the Apache Kafka EnvVarConfigProvider and Identity Replication Policy instead.
  • When using Kafka Connect or Kafka MirrorMaker 2 operands and upgrading from Strimzi 0.38 or older, make sure the StableConnectIdentities feature gate is enabled and StrimziPodSets are used before upgrading.
  • When using the Kafka operand and upgrading from Strimzi 0.34 or older, make sure the UseStrimziPodSets feature gate is enabled and StrimziPodSet resources are used before upgrading.
  • The storage overrides for configuring per-broker storage class are not supported anymore.
    If you are using the storage overrides, you should instead use multiple KafkaNodePool resources with a different storage class each.
    For more details about migrating from storage overrides, please follow the documentation.
  • The Open Policy Agent authorization (type: opa) has been deprecated and will be removed in the future.
    To use the Open Policy Agent authorizer, you can use the type: custom authorization.
  • Removed the statefulset.kubernetes.io/pod-name label from pods and external listeners Kubernetes Services.
    • If you have any custom setup leveraging such label, please use the strimzi.io/pod-name one instead.
  • The secrets list for mounting additional Kubernetes Secrets in type: custom authentication was deprecated and will be removed in the future.
    Please use the template section to configure additional volumes instead.
  • Kafka 4.0 and newer is using Log4j2 for logging instead of Reload4j/Log4j1.
    If you have any custom logging configuration, you might need to update it during the upgrade to Kafka 4.0.
  • Kubernetes events for Pod restarts no longer have the Pod as the regardingObject.
    If you are using regardingObject as a field-selector for listing events you must update the selector to specify the Kafka resource instead.
  • From Kafka 4.0.0, to enable the JMXReporter you must either enable metrics in .spec.kafka.metrics, or explicitly add JMXReporter in metric.reporters.

Upgrading from Strimzi 0.45.0

See the documentation for upgrade instructions.

Upgrading from Strimzi 0.22 or earlier

Direct upgrade from Strimzi 0.22 or earlier is not supported anymore! You have to upgrade first to one of the previous versions of Strimzi. You will also need to convert the CRD resources. For more details, see the documentation.

Container images

The following container images are part of this release:

Name Image
Operators quay.io/strimzi/operator@sha256:ac434a48ac2b27b2b8f36001814897649c0193a78eb76d7cb4719c7f8cb4b275
Apache Kafka 3.9.0 quay.io/strimzi/kafka@sha256:3c976468f590b464bd224fdf0adb45556fccfba6025bc6b770e3fa69f7398b04
Apache Kafka 4.0.0 quay.io/strimzi/kafka@sha256:e0a017c707e101d373d992061e4531db22da7a80bac1a5af9ad8c2ffd604c41d
Strimzi Bridge quay.io/strimzi/kafka-bridge@sha256:3e1815aed3f74b8573cebfced66b2c78ca0cf7c746c26db2002380cd39d09ae6
Kaniko executor quay.io/strimzi/kaniko-executor@sha256:ef1a39c363e145041d80103c3c12da9429ce06cf21dff6fb1fb75d0c0ed9c35b
Maven Builder quay.io/strimzi/maven-builder@sha256:b532234c234fc30fecec992ad1a6154c5ef08ebf9a20ec8bc62e0c88d791ff36

New Contributors

What's Changed

Full Changelog: 0.45.0...0.46.0