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:
Kubernetes Submit Queue
2016-12-08 19:51:58 -08:00
committed by GitHub

View File

@@ -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)
}
}
}