Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(k8s): fix rollout status check for Recreate
Before this fix, the rollout status of deployments using the `Recreate` strategy would be reported as ready before the new pods were fully ready. This was fixed by copying/following the latest logic from kubectl's rollout status checking logic, comparing the requested number of replicas from the deployment spec with the actual updated pod count. See: https://github.com/kubernetes/kubectl/blob/24d21a0ee42ecb5e5bed731f36b2d2c9c0244c35/pkg/polymorphichelpers/rollout_status.go
- Loading branch information