Add few log lines to NodeController

This commit is contained in:
gmarek 2016-05-23 08:49:11 +02:00
parent a8ba289003
commit 1d89d2f2d2

View File

@ -633,10 +633,12 @@ func (nc *NodeController) monitorNodeStatus() error {
if !seenReady {
nc.networkSegmentationMode = true
nc.stopAllPodEvictions()
glog.V(2).Info("NodeController is entering network segmentation mode.")
} else {
if nc.networkSegmentationMode {
nc.forceUpdateAllProbeTimes()
nc.networkSegmentationMode = false
glog.V(2).Info("NodeController exited network segmentation mode.")
}
}
return nil