-
in k8s, if i set the spec.replicas of statefulsets from 1 to 0, k8s will delete the pod, but stay the statefulsets. but in strimzi kafka cluster operator, the kafka pod's owner is strimzipodsets, for now, i want to delete the pod of kafka, but stay the strimzipodsets and other things, so, how to do it, please |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's not possible to scale the Kafka cluster to 0. If you want to do so the only choice you have is to stop running the operator or pausing the reconciliation (you can find information about it in the documentation) so that the operator won't take care of your cluster. Then you can delete the pods if this is really what you need, depending on what you are trying to achieve. |
Beta Was this translation helpful? Give feedback.
It's not possible to scale the Kafka cluster to 0. If you want to do so the only choice you have is to stop running the operator or pausing the reconciliation (you can find information about it in the documentation) so that the operator won't take care of your cluster. Then you can delete the pods if this is really what you need, depending on what you are trying to achieve.