Skip to content

Migration to KRaft mode stuck #11532

Answered by Davee02
Davee02 asked this question in Q&A
Jun 12, 2025 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

I was able to find the culprit while trying to remove the replicas and storage fields from the Kafka CR like you suggested in your initial answer. The update was rejected because

# kafkas.kafka.strimzi.io "kafka" was not valid:
# * spec.kafka.replicas: Required value
# * spec.kafka.storage: Required value

This made me wonder if perhaps my CRDs are out of date, as the cluster has been running for about 2 years now with automatic updates applied by the renovate bot.
After I updated the CRDs with the command kubectl apply -f https://github.com/strimzi/strimzi-kafka-operator/releases/download/0.45.0/strimzi-crds-0.45.0.yaml, the migration continued successfully to the state KRaftPostMigration.…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ppatierno
Comment options

@Davee02
Comment options

@ppatierno
Comment options

@Davee02
Comment options

Answer selected by Davee02
@ppatierno
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants