mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Log the condition when node becomes not ready
This improves debuggability.
This commit is contained in:
parent
878ba91d7a
commit
b216080980
@ -648,6 +648,7 @@ func (kl *Kubelet) setNodeReadyCondition(node *v1.Node) {
|
||||
kl.recordNodeStatusEvent(v1.EventTypeNormal, events.NodeReady)
|
||||
} else {
|
||||
kl.recordNodeStatusEvent(v1.EventTypeNormal, events.NodeNotReady)
|
||||
glog.Infof("Node became not ready: %+v", newNodeReadyCondition)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user