Update controllers and client to handle terminating pods

This commit is contained in:
Clayton Coleman
2015-08-19 21:52:34 -04:00
parent 02dbb95447
commit 2aaf8bddc2
5 changed files with 31 additions and 3 deletions

View File

@@ -310,7 +310,11 @@ func (e *EndpointController) syncService(key string) {
continue
}
if len(pod.Status.PodIP) == 0 {
glog.V(4).Infof("Failed to find an IP for pod %s/%s", pod.Namespace, pod.Name)
glog.V(5).Infof("Failed to find an IP for pod %s/%s", pod.Namespace, pod.Name)
continue
}
if pod.DeletionTimestamp != nil {
glog.V(5).Infof("Pod is being deleted %s/%s", pod.Namespace, pod.Name)
continue
}