Commit 76b5b791 authored by Victor Marmol's avatar Victor Marmol

Merge pull request #6127 from yujuhong/sethost

Kubelet: set host field in the pending pod status
parents 320df1d2 372c5c9f
......@@ -1904,6 +1904,7 @@ func (kl *Kubelet) generatePodStatusByPod(pod *api.Pod) (api.PodStatus, error) {
} else {
pendingStatus := api.PodStatus{
Phase: api.PodPending,
Host: kl.GetHostname(),
Message: fmt.Sprintf("Query docker container info failed with error (%v)", err),
}
return pendingStatus, nil
......
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