Disable excessive logging in scheduler plugins

This commit is contained in:
Jacek Kaniuk
2019-12-16 14:31:26 +01:00
parent e680ad7156
commit 8fae8e54af
4 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ func getPodAffinityMetadata(cycleState *framework.CycleState) (*predicates.PodAf
if err != nil {
// The metadata wasn't pre-computed in prefilter. We ignore the error for now since
// Filter is able to handle that by computing it again.
klog.Error(err)
klog.V(5).Infof("Error reading %q from cycleState: %v", preFilterStateKey, err)
return nil, nil
}