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
pull/6/head
Kubernetes Submit Queue 2016-12-08 19:51:58 -08:00 committed by GitHub
commit 362dc81d8e
1 changed files with 1 additions and 0 deletions

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