mirror of https://github.com/k3s-io/k3s
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-reviewspull/6/head
commit
897ad3585a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue