Skip to content

Commit

Permalink
Prepare for Strimzi 0.44.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <[email protected]>
  • Loading branch information
scholzj committed Oct 25, 2024
1 parent 810f618 commit 7e49e5f
Show file tree
Hide file tree
Showing 71 changed files with 2,771 additions and 243 deletions.
6 changes: 3 additions & 3 deletions .checksums
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
# development version of the helm charts in ./packaging/helm-charts
### IMPORTANT ###
HELM_CHART_CHECKSUM="64d42b4573b0d8bb6d1ae2748b9382da068ab751 -"
HELM_CHART_CHECKSUM="50e2ee0738ebfd558fa2e35c189b3abb5e3a5663 -"

### IMPORTANT ###
# if the below line has changed, this means the ./install directory has changed
# the checksum and ./install directory should only be modified on official releases as part of a release
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
# development version of the helm charts in ./packaging/install
### IMPORTANT ###
INSTALL_CHECKSUM="8b62c04d5a5370e0efad1dac8bfbcc1b7b16cc47 -"
INSTALL_CHECKSUM="4e3bc4774c0d1803e895d42e22d792364b2f14c5 -"

### IMPORTANT ###
# if the below line has changed, this means the ./examples directory has changed
# the checksum and ./examples directory should only be modified on official releases as part of a release
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
# development version of the helm charts in ./packaging/examples
### IMPORTANT ###
EXAMPLES_CHECKSUM="a1d55c2ca5a4b8cd5df18e7c8cecd6afcf093de1 -"
EXAMPLES_CHECKSUM="2bbd52b17af9b7ef63731b4a0a81165b182d77e6 -"
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.strimzi</groupId>
<artifactId>strimzi</artifactId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion certificate-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>strimzi</artifactId>
<groupId>io.strimzi</groupId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>certificate-manager</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion cluster-operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.strimzi</groupId>
<artifactId>strimzi</artifactId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cluster-operator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion config-model-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>strimzi</artifactId>
<groupId>io.strimzi</groupId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion config-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>strimzi</artifactId>
<groupId>io.strimzi</groupId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crd-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>strimzi</artifactId>
<groupId>io.strimzi</groupId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion crd-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>strimzi</artifactId>
<groupId>io.strimzi</groupId>
<version>0.44.0-SNAPSHOT</version>
<version>0.44.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>crd-generator</artifactId>
Expand Down
4 changes: 3 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ This folder contains different examples of Strimzi custom resources and demonstr
* Sample Grafana installation files
* JMX Trans deployment
* [Security](./security)
* Deployments of Kafka, Kafka Connect and HTTP Bridge using TLS encryption, authentication and authorization
* Deployments of Kafka, Kafka Connect and HTTP Bridge using TLS encryption, authentication and authorization
* [Kafka Access examples](./kafka-access)
* Examples of the `KafkaAccess` resources for the Strimzi Access Operator
59 changes: 59 additions & 0 deletions examples/cruise-control/kafka-cruise-control-auto-rebalancing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: my-cluster
spec:
kafka:
version: 3.8.0
replicas: 3
listeners:
- name: plain
port: 9092
type: internal
tls: false
- name: tls
port: 9093
type: internal
tls: true
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
default.replication.factor: 3
min.insync.replicas: 2
inter.broker.protocol.version: "3.8"
storage:
type: ephemeral
zookeeper:
replicas: 3
storage:
type: ephemeral
entityOperator:
topicOperator: {}
userOperator: {}
cruiseControl:
autoRebalance:
- mode: add-brokers
template:
name: my-add-brokers-rebalancing-template
- mode: remove-brokers
template:
name: my-remove-brokers-rebalancing-template
---
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaRebalance
metadata:
name: my-add-brokers-rebalancing-template
annotations:
strimzi.io/rebalance-template: "true"
# no goals specified, using the default goals from the Cruise Control configuration
spec: {}
---
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaRebalance
metadata:
name: my-remove-brokers-rebalancing-template
annotations:
strimzi.io/rebalance-template: "true"
# no goals specified, using the default goals from the Cruise Control configuration
spec: {}
20 changes: 20 additions & 0 deletions examples/kafka-access/kafka-access-with-user.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# The operator will look up the Kafka instance specified and
# create a secret with the details to connect to the listener specified.
# It will also look up the KafkaUser specified and check it has the correct
# authentication mechanism to connect to the listener. If so it will add the
# user credentials to the secret it creates.
# If no listener is specified it will choose one based on the user authentication.
apiVersion: access.strimzi.io/v1alpha1
kind: KafkaAccess
metadata:
name: my-kafka-access
spec:
kafka:
name: my-cluster
namespace: kafka
listener: tls
user:
kind: KafkaUser
apiGroup: kafka.strimzi.io
name: my-user
namespace: kafka
12 changes: 12 additions & 0 deletions examples/kafka-access/kafka-access.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# The operator will look up the Kafka instance specified and
# create a secret with the details to connect to the listener specified.
# If no listener is specified it will choose one, preferring an internal listener.
apiVersion: access.strimzi.io/v1alpha1
kind: KafkaAccess
metadata:
name: my-kafka-access
spec:
kafka:
name: my-cluster
namespace: kafka
listener: plain
95 changes: 89 additions & 6 deletions examples/metrics/grafana-dashboards/strimzi-kraft.json
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,89 @@
"title": "Metadata Records Commit Latency",
"type": "timeseries"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "The role of the node in KRaft",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 23
},
"id": 122,
"options": {
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "Pod Name"
}
]
},
"pluginVersion": "7.4.5",
"targets": [
{
"expr": "max(kafka_server_raftmetrics_current_state) by (kubernetes_pod_name, current_state)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Current Raft State",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true
},
"indexByName": {
"Time": 0,
"Value": 3,
"current_state": 2,
"kubernetes_pod_name": 1
},
"renameByName": {
"current_state": "Current State",
"kubernetes_pod_name": "Pod Name"
}
}
}
],
"type": "table"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "The current quorum leader's id; -1 indicates unknown",
Expand Down Expand Up @@ -1134,8 +1217,8 @@
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"w": 6,
"x": 6,
"y": 23
},
"id": 104,
Expand Down Expand Up @@ -1228,8 +1311,8 @@
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"w": 6,
"x": 12,
"y": 23
},
"id": 105,
Expand Down Expand Up @@ -1322,8 +1405,8 @@
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"w": 6,
"x": 18,
"y": 23
},
"id": 113,
Expand Down
6 changes: 6 additions & 0 deletions examples/metrics/kafka-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ data:
- pattern: "kafka.server<type=raft-metrics><>(.+-total|.+-max):"
name: kafka_server_raftmetrics_$1
type: COUNTER
- pattern: "kafka.server<type=raft-metrics><>(current-state): (.+)"
name: kafka_server_raftmetrics_$1
value: 1
type: UNTYPED
labels:
$1: "$2"
- pattern: "kafka.server<type=raft-metrics><>(.+):"
name: kafka_server_raftmetrics_$1
type: GAUGE
Expand Down
2 changes: 1 addition & 1 deletion examples/security/keycloak-authorization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Full instructions for the example are available in the [Strimzi Documentation](h
- The Keycloak realm export file
- [kafka-ephemeral-oauth-single-keycloak-authz.yaml](./kafka-ephemeral-oauth-single-keycloak-authz.yaml)
- The Kafka CR that defines a single-node Kafka cluster with `oauth` authentication and `keycloak` authorization,
using the `kafka-authz` realm. See [full example instructions](https://strimzi.io/docs/operators/0.43.0/configuring.html#proc-oauth-authorization-keycloak-example_str) for proper preparation and deployment.
using the `kafka-authz` realm. See [full example instructions](https://strimzi.io/docs/operators/0.44.0/configuring.html#proc-oauth-authorization-keycloak-example_str) for proper preparation and deployment.
- [kafka-ephemeral-oauth-single-keycloak-authz-metrics.yaml](./kafka-ephemeral-oauth-single-keycloak-authz-metrics.yaml)
- The Kafka CR that defines a single-node Kafka cluster with `oauth` authentication and `keycloak` authorization,
with included configuration for exporting the OAuth metrics using Prometheus JMX exporter.
Expand Down
26 changes: 17 additions & 9 deletions helm-charts/helm3/strimzi-kafka-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ Strimzi provides a way to run an [Apache Kafka®](https://kafka.apache.org) clus
See our [website](https://strimzi.io) for more details about the project.

**!!! IMPORTANT !!!**
Upgrading to Strimzi 0.32 and newer directly from Strimzi 0.22 and earlier is no longer possible.
Please follow the [documentation](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-upgrade-str) for more details.

**!!! IMPORTANT !!!**
Strimzi 0.43.0 (and any of its patch releases) is the last Strimzi version with support for Kubernetes 1.23 and 1.24.
From Strimzi 0.44.0 on, Strimzi will support only Kubernetes 1.25 and newer.
* From Strimzi 0.44.0 on, we support only Kubernetes 1.25 and newer.
Kubernetes 1.23 and 1.24 are not supported anymore.
* ZooKeeper support will be soon removed from Apache Kafka and Strimzi.
Currently, the last Strimzi version with ZooKeeper support is expected to be Strimzi 0.45.
Please plan your migration to KRaft (ZooKeeper-less Apache Kafka) accordingly.
Follow the [documentation](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-kraft-mode-str) for more details.
* Kafka Mirror Maker 1 support will be soon removed from Apache Kafka and Strimzi.
Currently, the last Strimzi version with Mirror Maker 1 support is expected to be Strimzi 0.45.
Please plan your migration to Mirror Maker 2 or another mirroring tool.
* Upgrading to Strimzi 0.32 and newer directly from Strimzi 0.22 and earlier is no longer possible.
Please follow the [documentation](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-upgrade-str) for more details.

## Introduction

Expand All @@ -21,14 +27,16 @@ cluster using the [Helm](https://helm.sh) package manager.
### Supported Features

* **Manages the Kafka Cluster** - Deploys and manages all of the components of this complex application, including dependencies like Apache ZooKeeper® that are traditionally hard to administer.
* **KRaft support** - Allows running Apache Kafka clusters in the KRaft mode (without ZooKeeper).
* **KRaft support** - Allows running Apache Kafka clusters in the KRaft mode (without ZooKeeper).
* **Includes Kafka Connect** - Allows for configuration of common data sources and sinks to move data into and out of the Kafka cluster.
* **Topic Management** - Creates and manages Kafka Topics within the cluster.
* **User Management** - Creates and manages Kafka Users within the cluster.
* **Connector Management** - Creates and manages Kafka Connect connectors.
* **Includes Kafka Mirror Maker 1 and 2** - Allows for mirroring data between different Apache Kafka® clusters.
* **Includes Kafka MirrorMaker** - Allows for mirroring data between different Apache Kafka® clusters.
* **Includes HTTP Kafka Bridge** - Allows clients to send and receive messages through an Apache Kafka® cluster via the HTTP protocol.
* **Includes Cruise Control** - Automates the process of balancing partitions across an Apache Kafka® cluster.
* **Auto-rebalancing when scaling** - Automatically rebalance the Kafka cluster after a scale-up or before a scale-down.
* **Tiered storage** - Offloads older, less critical data to a lower-cost, lower-performance storage tier, such as object storage.
* **Prometheus monitoring** - Built-in support for monitoring using Prometheus.
* **Grafana Dashboards** - Built-in support for loading Grafana® dashboards via the grafana_sidecar

Expand Down Expand Up @@ -60,7 +68,7 @@ Strimzi is licensed under the [Apache License, Version 2.0](https://github.com/s

## Prerequisites

- Kubernetes 1.23+
- Kubernetes 1.25+

## Installing the Chart

Expand Down Expand Up @@ -97,7 +105,7 @@ the documentation for more details.
| `watchAnyNamespace` | Watch the whole Kubernetes cluster (all namespaces) | `false` |
| `defaultImageRegistry` | Default image registry for all the images | `quay.io` |
| `defaultImageRepository` | Default image registry for all the images | `strimzi` |
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `0.43.0` |
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `0.44.0` |
| `image.registry` | Override default Cluster Operator image registry | `nil` |
| `image.repository` | Override default Cluster Operator image repository | `nil` |
| `image.name` | Cluster Operator image name | `cluster-operator` |
Expand Down
Loading

0 comments on commit 7e49e5f

Please sign in to comment.