From 9192d4a0be704a61a5ee3bff2521deb990259070 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 27 Oct 2025 11:21:46 +0100 Subject: [PATCH 1/3] chore: disable controller downscale test step and update docs --- docs/modules/kafka/partials/supported-versions.adoc | 9 +++++++++ .../{70-assert.yaml.j2 => 70-assert.yaml.j2.disabled} | 0 ...yaml.j2 => 70-scale-controller-down.yaml.j2.disabled} | 4 ++++ 3 files changed, 13 insertions(+) rename tests/templates/kuttl/operations-kraft/{70-assert.yaml.j2 => 70-assert.yaml.j2.disabled} (100%) rename tests/templates/kuttl/operations-kraft/{70-scale-controller-down.yaml.j2 => 70-scale-controller-down.yaml.j2.disabled} (90%) diff --git a/docs/modules/kafka/partials/supported-versions.adoc b/docs/modules/kafka/partials/supported-versions.adoc index 16cc1a6f..070015b7 100644 --- a/docs/modules/kafka/partials/supported-versions.adoc +++ b/docs/modules/kafka/partials/supported-versions.adoc @@ -5,3 +5,12 @@ * 4.1.0 (experimental) * 3.9.1 (LTS) * 3.7.2 (deprecated) + +Apache Kafka 4.1.0 support is experimental because it has not been throughly tested in production environments yet. +Migrations from older Kafka version which used Apache Zookeeper for cluster coordination to the new KRaft mode are not supported yet. + +Also there are some known issues such as: + +* Controller scaling is not reliable. +* Kerberos authentication is not tested yet. +* Service exposision is not definitive. diff --git a/tests/templates/kuttl/operations-kraft/70-assert.yaml.j2 b/tests/templates/kuttl/operations-kraft/70-assert.yaml.j2.disabled similarity index 100% rename from tests/templates/kuttl/operations-kraft/70-assert.yaml.j2 rename to tests/templates/kuttl/operations-kraft/70-assert.yaml.j2.disabled diff --git a/tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2 b/tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2.disabled similarity index 90% rename from tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2 rename to tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2.disabled index a8073228..136e2b59 100644 --- a/tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2 +++ b/tests/templates/kuttl/operations-kraft/70-scale-controller-down.yaml.j2.disabled @@ -1,3 +1,7 @@ +# +# This test step is disabled becaus Kraft controller do scale down reliably. +# This leads to flaky tests. +# {% if not test_scenario['values']['kafka-kraft'].startswith("3.7") %} --- apiVersion: kuttl.dev/v1beta1 From 40a3652b1d9e6a851f304060dd560c520ee087fc Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 27 Oct 2025 11:27:56 +0100 Subject: [PATCH 2/3] Update docs/modules/kafka/partials/supported-versions.adoc Co-authored-by: Malte Sander --- docs/modules/kafka/partials/supported-versions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/kafka/partials/supported-versions.adoc b/docs/modules/kafka/partials/supported-versions.adoc index 070015b7..85589d9d 100644 --- a/docs/modules/kafka/partials/supported-versions.adoc +++ b/docs/modules/kafka/partials/supported-versions.adoc @@ -6,7 +6,7 @@ * 3.9.1 (LTS) * 3.7.2 (deprecated) -Apache Kafka 4.1.0 support is experimental because it has not been throughly tested in production environments yet. +Apache Kafka 4.x.x support is experimental because it has not been thoroughly tested in production environments yet. Migrations from older Kafka version which used Apache Zookeeper for cluster coordination to the new KRaft mode are not supported yet. Also there are some known issues such as: From c36a7d58b98da011d315b5e93eb0206f64b96c6a Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Mon, 27 Oct 2025 11:33:20 +0100 Subject: [PATCH 3/3] clarify kraft problem --- docs/modules/kafka/partials/supported-versions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/kafka/partials/supported-versions.adoc b/docs/modules/kafka/partials/supported-versions.adoc index 85589d9d..e3e91193 100644 --- a/docs/modules/kafka/partials/supported-versions.adoc +++ b/docs/modules/kafka/partials/supported-versions.adoc @@ -6,7 +6,7 @@ * 3.9.1 (LTS) * 3.7.2 (deprecated) -Apache Kafka 4.x.x support is experimental because it has not been thoroughly tested in production environments yet. +Support for clusters running in Kraft mode (which includes Apache Kafka 4.x.x) is experimental because it has not been thoroughly tested in production environments yet. Migrations from older Kafka version which used Apache Zookeeper for cluster coordination to the new KRaft mode are not supported yet. Also there are some known issues such as: