Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3eefcfad
Unverified
Commit
3eefcfad
authored
May 17, 2019
by
Tariq Ibrahim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extract PodReasonUnschedulable out of the PodConditionType const group
Signed-off-by:
Tariq Ibrahim
<
tariq181290@gmail.com
>
parent
314264ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
types.go
staging/src/k8s.io/api/core/v1/types.go
+10
-6
No files found.
staging/src/k8s.io/api/core/v1/types.go
View file @
3eefcfad
...
...
@@ -2410,18 +2410,22 @@ type PodConditionType string
// These are valid conditions of pod.
const
(
// PodScheduled represents status of the scheduling process for this pod.
PodScheduled
PodConditionType
=
"PodScheduled"
// ContainersReady indicates whether all containers in the pod are ready.
ContainersReady
PodConditionType
=
"ContainersReady"
// PodInitialized means that all init containers in the pod have started successfully.
PodInitialized
PodConditionType
=
"Initialized"
// 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"
// PodInitialized means that all init containers in the pod have started successfully.
PodInitialized
PodConditionType
=
"Initialized"
// PodScheduled represents status of the scheduling process for this pod.
PodScheduled
PodConditionType
=
"PodScheduled"
)
// These are reasons for a pod's transition to a condition.
const
(
// 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"
// ContainersReady indicates whether all containers in the pod are ready.
ContainersReady
PodConditionType
=
"ContainersReady"
)
// PodCondition contains details for the current condition of this pod.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment