Commit f4e792ed authored by Hemant Kumar's avatar Hemant Kumar

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.
parent 4a73f19a
...@@ -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