From 787b5c488a83fe34d3b12e360151146f395acf4c Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Fri, 12 Dec 2014 17:01:02 -0500 Subject: [PATCH] Add PodIP and Image to v1beta3 Fixes #2900 --- pkg/api/v1beta3/types.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkg/api/v1beta3/types.go b/pkg/api/v1beta3/types.go index 1bb9915c953..57dd78c6398 100644 --- a/pkg/api/v1beta3/types.go +++ b/pkg/api/v1beta3/types.go @@ -418,8 +418,13 @@ type ContainerStatus struct { // garbage collection. This value will get capped at 5 by GC. RestartCount int `json:"restartCount"` // TODO(dchen1107): Introduce our own NetworkSettings struct here? - // TODO(dchen1107): Which image the container is running with? ContainerID string `json:"containerID,omitempty" description:"container's ID in the format 'docker://'"` + // The IP of the Pod + // PodIP is deprecated and will be removed from v1beta3 once it becomes possible for the Kubelet to report PodStatus. + PodIP string `json:"podIP,omitempty"` + // TODO(dchen1107): Which image the container is running with? + // The image the container is running + Image string `json:"image"` } // PodInfo contains one entry for every container with available info.