Make "Unschedulable" reason a constant in api

This commit is contained in:
Marcin Wielgus
2016-10-12 17:43:24 +02:00
parent ead65fc25f
commit 859077b701
3 changed files with 7 additions and 1 deletions

View File

@@ -1225,6 +1225,9 @@ const (
PodReady PodConditionType = "Ready"
// PodInitialized means that all init containers in the pod have started successfully.
PodInitialized PodConditionType = "Initialized"
// PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler
// can't schedule the pod right now, for example due to insufficient resources in the cluster.
PodReasonUnschedulable = "Unschedulable"
)
type PodCondition struct {