Unverified Commit 9501c525 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60935 from shyamjvs/increase-volume-binder-log-verbosity

Automatic merge from submit-queue (batch tested with PRs 60891, 60935). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Increase verbosity of frequently printed logline in scheduler_binder Fix https://github.com/kubernetes/kubernetes/issues/60933 /cc @wojtek-t @msau42 ```release-note NONE ``` /milestone 1.10 /sig storage
parents 56195fd1 8ff1f05f
...@@ -130,7 +130,8 @@ func (b *volumeBinder) GetBindingsCache() PodBindingCache { ...@@ -130,7 +130,8 @@ func (b *volumeBinder) GetBindingsCache() PodBindingCache {
func (b *volumeBinder) FindPodVolumes(pod *v1.Pod, nodeName string) (unboundVolumesSatisfied, boundVolumesSatisfied bool, err error) { func (b *volumeBinder) FindPodVolumes(pod *v1.Pod, nodeName string) (unboundVolumesSatisfied, boundVolumesSatisfied bool, err error) {
podName := getPodName(pod) podName := getPodName(pod)
glog.V(4).Infof("FindPodVolumes for pod %q, node %q", podName, nodeName) // Warning: Below log needs high verbosity as it can be printed several times (#60933).
glog.V(5).Infof("FindPodVolumes for pod %q, node %q", podName, nodeName)
// Initialize to true for pods that don't have volumes // Initialize to true for pods that don't have volumes
unboundVolumesSatisfied = true unboundVolumesSatisfied = true
......
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