// Same as above. Note however, since condition unknown is posted by node controller, which means we
// need to substract monitoring grace period in order to get the real 'podEvictionTimeout'.
glog.Infof("Evicting pods2: %v is later than %v + %v",nc.now(),nc.nodeStatusMap[node.Name].readyTransitionTimestamp,nc.podEvictionTimeout-gracePeriod)
ifnc.deletingPodsRateLimiter.CanAccept(){
iferr:=nc.deletePods(node.Name);err!=nil{
glog.Errorf("Unable to delete pods from node %s: %v",node.Name,err)
}
ifnc.podEvictor.AddNodeToEvict(node.Name){
glog.Infof("Adding pods to evict2: %v is later than %v + %v",nc.now(),nc.nodeStatusMap[node.Name].readyTransitionTimestamp,nc.podEvictionTimeout-gracePeriod)
}
}
iflastReadyCondition.Status==api.ConditionTrue{
ifnc.podEvictor.RemoveNodeToEvict(node.Name){
glog.Infof("Pods on %v won't be evicted",node.Name)