Merge pull request https://github.com/kubernetes/contrib/pull/1981 from craigwillis85/master
Automatic merge from submit-queue Fixed a couple of typos in cluster-autoscaler This pull request fixes a couple of typos/grammatical errors in the logging output of the cluster-autoscaler addon
This commit is contained in:
commit
be150fc1c5
|
|
@ -283,7 +283,7 @@ func run(_ <-chan struct{}) {
|
|||
lastScaleUpTime, lastScaleDownFailedTrial, schedulablePodsPresent)
|
||||
|
||||
updateLastTime("findUnneeded")
|
||||
glog.V(4).Infof("Calculating unneded nodes")
|
||||
glog.V(4).Infof("Calculating unneeded nodes")
|
||||
|
||||
usageTracker.CleanUp(time.Now().Add(-(*scaleDownUnneededTime)))
|
||||
unneededNodes, podLocationHints, nodeUtilizationMap = FindUnneededNodes(
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ func FindUnneededNodes(nodes []*kube_api.Node,
|
|||
utilizationMap[node.Name] = utilization
|
||||
|
||||
if utilization >= utilizationThreshold {
|
||||
glog.V(4).Infof("Node %s is not suitable for removal - utilization to big (%f)", node.Name, utilization)
|
||||
glog.V(4).Infof("Node %s is not suitable for removal - utilization too big (%f)", node.Name, utilization)
|
||||
continue
|
||||
}
|
||||
currentlyUnneededNodes = append(currentlyUnneededNodes, node)
|
||||
|
|
|
|||
Loading…
Reference in New Issue