mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 05:43:58 +00:00
Automatic merge from submit-queue Avoid unnecessary status update when there is no corresponding mirror pod Fixes https://github.com/kubernetes/kubernetes/issues/32191. This PR changes status manager to skip update when there is no mirror pod for a static pod. We need this because: 1) When static pod terminates and mirror pod is deleted, this will avoid extra `syncPod`. 2) During mirror pod creation and recreation, this will avoid unnecessary `syncPod`. Mark P1 to match the original issue. @wojtek-t @yujuhong /cc @kubernetes/sig-node