Merge pull request #3051 from brendandburns/flake

Add a PodUnknown phase and make ListPods return even when there are errors
This commit is contained in:
Daniel Smith
2014-12-19 16:45:44 -08:00
10 changed files with 24 additions and 6 deletions

View File

@@ -365,6 +365,9 @@ const (
// PodFailed means that all containers in the pod have terminated, and at least one container has
// terminated in a failure (exited with a non-zero exit code or was stopped by the system).
PodFailed PodPhase = "Failed"
// PodUnknown means that for some reason the state of the pod could not be obtained, typically due
// to an error in communicating with the host of the pod.
PodUnknown PodPhase = "Unknown"
)
type ContainerStateWaiting struct {