mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #84933 from krzysied/node_controller_v_level
Bumping up log level for not updated node
This commit is contained in:
commit
f0184f0921
@ -1134,7 +1134,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