mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Merge pull request #6652 from dchen1107/podstatus
Populate last terminated container information
This commit is contained in:
@@ -1987,6 +1987,7 @@ func (kl *Kubelet) generatePodStatus(pod *api.Pod) (api.PodStatus, error) {
|
||||
}
|
||||
}
|
||||
podStatus.Conditions = append(podStatus.Conditions, getPodReadyCondition(spec, podStatus.ContainerStatuses)...)
|
||||
|
||||
hostIP, err := kl.GetHostIP()
|
||||
if err != nil {
|
||||
glog.Errorf("Cannot get host IP: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user