Add pod condition PodScheduled to detect situation

when scheduler tried to schedule a Pod, but failed.

Ref #24404
This commit is contained in:
Filip Grzadkowski
2016-04-18 14:26:16 +02:00
parent 26c99fee00
commit a80b1798c4
9 changed files with 106 additions and 6 deletions

View File

@@ -1058,6 +1058,8 @@ type PodConditionType string
// These are valid conditions of pod.
const (
// PodScheduled represents status of the scheduling process for this pod.
PodScheduled PodConditionType = "PodScheduled"
// PodReady means the pod is able to service requests and should be added to the
// load balancing pools of all matching services.
PodReady PodConditionType = "Ready"