mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +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:
		@@ -414,7 +414,7 @@ func (m *manager) syncPod(uid types.UID, status versionedPodStatus) {
 | 
				
			|||||||
	if err == nil {
 | 
						if err == nil {
 | 
				
			||||||
		translatedUID := m.podManager.TranslatePodUID(pod.UID)
 | 
							translatedUID := m.podManager.TranslatePodUID(pod.UID)
 | 
				
			||||||
		if len(translatedUID) > 0 && translatedUID != 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)
 | 
								m.deletePodStatus(uid)
 | 
				
			||||||
			return
 | 
								return
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user