Merge pull request #84933 from krzysied/node_controller_v_level

Bumping up log level for not updated node
This commit is contained in:
Kubernetes Prow Robot 2019-11-08 09:00:40 -08:00 committed by GitHub
commit f0184f0921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1134,7 +1134,7 @@ func (nc *Controller) tryUpdateNodeHealth(node *v1.Node) (time.Duration, v1.Node
LastTransitionTime: nowTimestamp,
})
} else {
klog.V(4).Infof("node %v hasn't been updated for %+v. Last %v is: %+v",
klog.V(2).Infof("node %v hasn't been updated for %+v. Last %v is: %+v",
node.Name, nc.now().Time.Sub(nodeHealth.probeTimestamp.Time), nodeConditionType, currentCondition)
if currentCondition.Status != v1.ConditionUnknown {
currentCondition.Status = v1.ConditionUnknown