Commit f152b28d authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #13909 from mesosphere/graceful-termination-endpoint-ctrl

Auto commit by PR queue bot
parents 50d80511 857e1ac1
...@@ -308,6 +308,11 @@ func (e *endpointController) syncService(key string) { ...@@ -308,6 +308,11 @@ func (e *endpointController) syncService(key string) {
glog.V(4).Infof("Failed to find a host IP for pod %s/%s", pod.Namespace, pod.Name) glog.V(4).Infof("Failed to find a host IP for pod %s/%s", pod.Namespace, pod.Name)
continue continue
} }
if pod.DeletionTimestamp != nil {
glog.V(5).Infof("Pod is being deleted %s/%s", pod.Namespace, pod.Name)
continue
}
if !api.IsPodReady(pod) { if !api.IsPodReady(pod) {
glog.V(5).Infof("Pod is out of service: %v/%v", pod.Namespace, pod.Name) glog.V(5).Infof("Pod is out of service: %v/%v", pod.Namespace, pod.Name)
continue continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment