mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #17438 from spiffxp/sched-v-levels
Auto commit by PR queue bot
This commit is contained in:
commit
a26a1ae5d5
@ -34,7 +34,7 @@ func calculateScore(requested int64, capacity int64, node string) int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
if requested > capacity {
|
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)
|
requested, capacity, node)
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ func (f *FitError) Error() string {
|
|||||||
var reason string
|
var reason string
|
||||||
// We iterate over all nodes for logging purposes, even though we only return one reason from one node
|
// We iterate over all nodes for logging purposes, even though we only return one reason from one node
|
||||||
for node, predicateList := range f.FailedPredicates {
|
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 {
|
if len(reason) == 0 {
|
||||||
reason, _ = predicateList.PopAny()
|
reason, _ = predicateList.PopAny()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user