Replies: 4 comments 2 replies
|
It is fine to ask for help, but it is really important to do it the right way. Otherwise it wastes everyones time:
Also something that I can see even without a formatting:
|
|
Thanks, Jakub, for detailed guidelines Im trying to migrate Zookeeper based kafka cluster to kraft I migrated to KafkaNodePools following https://strimzi.io/docs/operators/0.45.0/deploying#proc-migrating-clusters-node-pools-str My configuration: but when I try to add controller node pool: Get error 2026-01-16 07:13:09 ERROR AbstractOperator:285 - Reconciliation #4018(timer) Kafka(kafka/cluster0): createOrUpdate failed |
|
silly mistake as usual) here: |
|
Yes, works as expected Intresting numbering 3..5 pod/cluster0-controller-3 but as is in the manual |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
strimzi operator - 0.42
kafka version - 3.6.1
k8s version - v1.33.6
annotations:
strimzi.io/kraft: disabled
strimzi.io/node-pools: disabled
My plan was according to https://strimzi.io/blog/2024/03/22/strimzi-kraft-migration/:
upgrade to 3.7.0 - ok
Start migration by switching annotations:
strimzi.io/kraft: migrating
strimzi.io/node-pools: enabled
trying to create nodepool:
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaNodePool
metadata:
name: controller
labels:
strimzi.io/cluster: cluster0
spec:
replicas: 3
roles:
- controller
..
got errors in operators log:
ERROR AbstractOperator:283 - Reconciliation #2375(timer) Kafka(kafka/cluster0): createOrUpdate failed
[KafkaNodePool controller contains invalid roles configuration. In a ZooKeeper-based Kafka cluster, the KafkaNodePool role has to be always set only to the 'broker' role.]
kafkas status:
status:
clusterId:
conditions:
message: The .spec.kafka.replicas property in the Kafka custom resource is ignored
when node pools are used and should be removed from the custom resource.
reason: UnusedReplicasConfiguration
status: "True"
type: Warning
message: The .spec.kafka.storage section in the Kafka custom resource is ignored
when node pools are used and should be removed from the custom resource.
reason: UnusedStorageConfiguration
status: "True"
type: Warning
message: 'The Kafka cluster cluster0 is invalid: [KafkaNodePool controller contains
invalid roles configuration. In a ZooKeeper-based Kafka cluster, the KafkaNodePool
role has to be always set only to the ''broker'' role.]'
reason: InvalidResourceException
status: "True"
type: NotReady
All reactions