mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #37713 from yujuhong/log_notready_message
Automatic merge from submit-queue (batch tested with PRs 36736, 35956, 35655, 37713, 38316) Log the condition when node becomes not ready
This commit is contained in:
commit
362dc81d8e
@ -662,6 +662,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