diff --git a/cluster-autoscaler/simulator/cluster.go b/cluster-autoscaler/simulator/cluster.go index cf96e1fcc6b..e64c880704e 100644 --- a/cluster-autoscaler/simulator/cluster.go +++ b/cluster-autoscaler/simulator/cluster.go @@ -156,7 +156,7 @@ func (r *RemovalSimulator) SimulateNodeRemoval( podsToRemove, daemonSetPods, blockingPod, err := GetPodsToMove(nodeInfo, r.deleteOptions, r.drainabilityRules, r.listers, remainingPdbTracker, timestamp) if err != nil { - klog.V(2).Infof("node %s cannot be removed: %v", nodeName, err) + klog.V(2).Infof("Node %s cannot be removed: %v", nodeName, err) if blockingPod != nil { return nil, &UnremovableNode{Node: nodeInfo.Node(), Reason: BlockedByPod, BlockingPod: blockingPod} } @@ -167,10 +167,10 @@ func (r *RemovalSimulator) SimulateNodeRemoval( return r.findPlaceFor(nodeName, podsToRemove, destinationMap, timestamp) }) if err != nil { - klog.V(2).Infof("node %s is not suitable for removal: %v", nodeName, err) + klog.V(2).Infof("Node %s is not suitable for removal: %v", nodeName, err) return nil, &UnremovableNode{Node: nodeInfo.Node(), Reason: NoPlaceToMovePods} } - klog.V(2).Infof("node %s may be removed", nodeName) + klog.V(2).Infof("Node %s may be removed", nodeName) return &NodeToBeRemoved{ Node: nodeInfo.Node(), PodsToReschedule: podsToRemove,