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.
Due to a bug in the Fabric8 Kubernetes client (https://github.com/fabric8io/kubernetes-client/issues/5102), a synchronous (with the
wait
flag set totrue
) 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.