mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
bumping up log level for not updated node
This commit is contained in:
parent
8841624982
commit
4e63b9a032
@ -1143,7 +1143,7 @@ func (nc *Controller) tryUpdateNodeHealth(node *v1.Node) (time.Duration, v1.Node
|
|||||||
LastTransitionTime: nowTimestamp,
|
LastTransitionTime: nowTimestamp,
|
||||||
})
|
})
|
||||||
} else {
|
} 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)
|
node.Name, nc.now().Time.Sub(nodeHealth.probeTimestamp.Time), nodeConditionType, currentCondition)
|
||||||
if currentCondition.Status != v1.ConditionUnknown {
|
if currentCondition.Status != v1.ConditionUnknown {
|
||||||
currentCondition.Status = v1.ConditionUnknown
|
currentCondition.Status = v1.ConditionUnknown
|
||||||
|
Loading…
Reference in New Issue
Block a user