Replies: 1 comment
-
I guess that suggest you did not updated the CRDs after upgrading the Strimzi operator? If you use Helm, it will never update the CRDs and you have to do it separately for example using the YAML file with CRDs from our GitHub release. This is a Helm feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description
I encountered an issue while trying to apply a Kafka Cluster Resource (CR) with KRaft mode and dual-role nodes using the v1beta2 API version. The application of the YAML configuration fails due to an unknown field spec.kafka.metadataVersion.
Steps to reproduce
kafkanodepool.kafka.strimzi.io/dual-role created
Error from server (BadRequest): error when creating "examples/kafka/kraft/kafka-with-dual-role-nodes.yaml": Kafka in version "v1beta2" cannot be handled as a Kafka: strict decoding error: unknown field "spec.kafka.metadataVersion"
Expected behavior
The Kafka CR should be applied successfully without any errors, and the Kafka cluster with KRaft mode and dual-role nodes should be created.
Strimzi version
0.45.0
Kubernetes version
1.31
Installation method
helm chart
Infrastructure
Bare-metal
Configuration files and logs
kubectl apply -f examples/kafka/kraft/kafka-with-dual-role-nodes.yaml
kafkanodepool.kafka.strimzi.io/dual-role created
Error from server (BadRequest): error when creating "examples/kafka/kraft/kafka-with-dual-role-nodes.yaml": Kafka in version "v1beta2" cannot be handled as a Kafka: strict decoding error: unknown field "spec.kafka.metadataVersion"
Additional context
I have verified that the metadataVersion field is present in the YAML file but not recognized by the current version of the Strimzi Operator.
I am unsure if this field is supported in the v1beta2 API version or if there's another way to configure the metadata version for Kafka clusters using KRaft mode.
Beta Was this translation helpful? Give feedback.
All reactions