mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Log the condition when node becomes not ready
This improves debuggability.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user