Commit fad19680 authored by Aaron Crickenberger's avatar Aaron Crickenberger

Adjust V level for scheduler messages

The "Combined requested resources" message becomes excessive as the cluster fills up, drop it down to V(2) Put an explicit V(2) on the only other scheduler Infof call that didn't have V specified already.
parent 2a929883
......@@ -34,7 +34,7 @@ func calculateScore(requested int64, capacity int64, node string) int {
return 0
}
if requested > capacity {
glog.Infof("Combined requested resources %d from existing pods exceeds capacity %d on node %s",
glog.V(2).Infof("Combined requested resources %d from existing pods exceeds capacity %d on node %s",
requested, capacity, node)
return 0
}
......
......@@ -44,7 +44,7 @@ func (f *FitError) Error() string {
var reason string
// We iterate over all nodes for logging purposes, even though we only return one reason from one node
for node, predicateList := range f.FailedPredicates {
glog.Infof("Failed to find fit for pod %v on node %s: %s", f.Pod.Name, node, strings.Join(predicateList.List(), ","))
glog.V(2).Infof("Failed to find fit for pod %v on node %s: %s", f.Pod.Name, node, strings.Join(predicateList.List(), ","))
if len(reason) == 0 {
reason, _ = predicateList.PopAny()
}
......
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