-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: ignore deleted pods in the rolling updater Fixes https://github.com/kubernetes/kubernetes/issues/37955 The Deployment controller already ignores deleted pods or more precisely the ReplicaSet controller ignores deleted pods ([pod classification](https://github.com/kubernetes/kubernetes/blob/a30b6e2d163ce5363daf1106350f46ea99982a64/pkg/controller/replicaset/replica_set.go#L600) ignores [deleted pods](https://github.com/kubernetes/kubernetes/blob/a30b6e2d163ce5363daf1106350f46ea99982a64/pkg/controller/controller_ref_manager.go#L63)) and the Deployment controller reuses what's in the ReplicaSet status. @kubernetes/sig-apps-misc @kubernetes/sig-cli-misc
cfc3c4b9