mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Log more information on pod status updates
Also bump the logging level to V2 so that we can see them in a non-test cluster.
This commit is contained in:
parent
04437f6403
commit
47c49fc77c
@ -414,7 +414,7 @@ func (m *manager) syncPod(uid types.UID, status versionedPodStatus) {
|
||||
if err == nil {
|
||||
translatedUID := m.podManager.TranslatePodUID(pod.UID)
|
||||
if len(translatedUID) > 0 && translatedUID != uid {
|
||||
glog.V(3).Infof("Pod %q was deleted and then recreated, skipping status update", format.Pod(pod))
|
||||
glog.V(2).Infof("Pod %q was deleted and then recreated, skipping status update; old UID %q, new UID %q", format.Pod(pod), uid, translatedUID)
|
||||
m.deletePodStatus(uid)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user