strimzi / strimzi-kafka-operator

Apache Kafka® running on Kubernetes
https://strimzi.io/
Apache License 2.0
4.84k stars 1.29k forks source link

Wait for Deployment scale down to 0 replicas #8486

Closed scholzj closed 1 year ago

scholzj commented 1 year ago

Due to a bug in the Fabric8 Kubernetes client (https://github.com/fabric8io/kubernetes-client/issues/5102), a synchronous (with the wait flag set to true) scale-down of deployments to 0 replicas is hanging and never completes (the scale-down actually happens, but the wait never returns).

To workaround that limitation, we do not wait when scaling to 0. Once this is fixed in Fabric8 Kubernets Client, we should revert that change and wait again. The workaround was applied in #8471 and the places are marked with a comment linking to the Fabric8 issue.

scholzj commented 1 year ago

Fixed in #8504