Check if kubelet does know such Pod before querying status.
This commit is contained in:
@@ -242,6 +242,7 @@ func podsOnMinions(c *client.Client, pods api.PodList) wait.ConditionFunc {
|
||||
return false, nil
|
||||
}
|
||||
if _, err := podInfo.GetPodStatus(host, namespace, id); err != nil {
|
||||
glog.Infof("GetPodStatus error: %v", err)
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user