Question about the KafkaNodePool resources ("storage overrides") #10813
-
In the changelogs of Strimzi v0.43 following is mentioned:
Does this mean that something like this in a Kafka-cluster manifest, will not work anymore some day in future?
In our case we just prepare mount-points/data-directories and define persistent volumes for example on three different Kubernetes nodes, where the Kafka/Zookeeper node pods then will be scheduled. So |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yes and no 🫣. The YAML you shared will stop working. In order to use KRaft (ZooKeeper-less Kafka) you will need to move to KafkaNodePools and KafkaNodePool configure the storage in the However, the deprecated part that will not be supported anymore with KafkaNodePools is about the use of the storage class overrides: storage:
type: jbod
volumes:
- id: 0
type: persistent-claim
size: 100Gi
deleteClaim: false
class: my-storage-class
overrides:
- broker: 0
class: my-storage-class-zone-1a
- broker: 1
class: my-storage-class-zone-1b
- broker: 2
class: my-storage-class-zone-1c You do not seem to be using those. So you should be able to easily migrate to the KafkaNodePools as described in the docs. |
Beta Was this translation helpful? Give feedback.
Well, if you had a better idea of how to accomodate the Kafka KRaft architectures you could have commented when these things were proposed and dicusssed. Now it is a bit late for that.
ZooKeeper-based clusters will be supported until Strimzi 0.45. Latest within 0.45 you will need to migrate to node pools and to KRaft (before upgrading to Strimzi 0.46 or newer).