Commit 897ad358 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #49794 from gnufied/log-pod-skip-event-with-higher-priority

Automatic merge from submit-queue (batch tested with PRs 46519, 49794, 49720, 49692, 49821) Log attach detach controller skipping pods at higher priority This will help us in tracking down problems related to pods not getting added to desired state of world because of events arriving out of order or some other problem related to that. cc @kubernetes/sig-storage-pr-reviews
parents 3e53afa6 f4e792ed
...@@ -201,7 +201,7 @@ func ProcessPodVolumes(pod *v1.Pod, addVolumes bool, desiredStateOfWorld cache.D ...@@ -201,7 +201,7 @@ func ProcessPodVolumes(pod *v1.Pod, addVolumes bool, desiredStateOfWorld cache.D
// If the node the pod is scheduled to does not exist in the desired // If the node the pod is scheduled to does not exist in the desired
// state of the world data structure, that indicates the node is not // state of the world data structure, that indicates the node is not
// yet managed by the controller. Therefore, ignore the pod. // yet managed by the controller. Therefore, ignore the pod.
glog.V(10).Infof( glog.V(4).Infof(
"Skipping processing of pod %q/%q: it is scheduled to node %q which is not managed by the controller.", "Skipping processing of pod %q/%q: it is scheduled to node %q which is not managed by the controller.",
pod.Namespace, pod.Namespace,
pod.Name, pod.Name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment