mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +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)
|
kl.recordNodeStatusEvent(v1.EventTypeNormal, events.NodeReady)
|
||||||
} else {
|
} else {
|
||||||
kl.recordNodeStatusEvent(v1.EventTypeNormal, events.NodeNotReady)
|
kl.recordNodeStatusEvent(v1.EventTypeNormal, events.NodeNotReady)
|
||||||
|
glog.Infof("Node became not ready: %+v", newNodeReadyCondition)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user