strimzi-kafka-operator icon indicating copy to clipboard operation
strimzi-kafka-operator copied to clipboard

[Enhancement] Allow scaling down of a pods in the middle of the cluster

Open scholzj opened this issue 3 years ago • 1 comments

Right now because of using StatefulSet, you can always scale down only the last broker. You cannot remove for example second broker out of 3. That does not work in all use cases. For example in the following situation:

In case we have local disk and the machine is slowly dying. I’d like to add anemone node and then delete he 2nd one

To be able to do this, we would need to use pods directly and not through stateful set. So it is a big change. But there might be more value in it in storage handling etc.

scholzj avatar Aug 19 '20 12:08 scholzj

Triaged on 31.3.2022: Should be achieved in the future with podsets. Should stay open until then.

scholzj avatar Mar 31 '22 14:03 scholzj

This has been addressed using KafkaNodePools which (when enabled) allow to scale down any node.

scholzj avatar Aug 12 '23 19:08 scholzj