Fixed a couple of typos in cluster-autoscaler
This commit is contained in:
parent
9f3900f466
commit
ede94eeed7
|
|
@ -270,7 +270,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 = FindUnneededNodes(
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ func FindUnneededNodes(nodes []*kube_api.Node,
|
|||
glog.V(4).Infof("Node %s - utilization %f", 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