New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract the const for ContainerStateReason #96451
Conversation
/release-note-none |
456e847
to
17e44f8
Compare
/test pull-kubernetes-e2e-gce-100-performance |
/assign @yujuhong |
/uncc |
@@ -78,6 +78,12 @@ const ( | |||
podKillingChannelCapacity = 50 | |||
) | |||
|
|||
// Container state reason list | |||
const ( | |||
PodInitializing = "PodInitializing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also use it here:
kubernetes/pkg/kubelet/kubelet_test.go
Line 1458 in ac101cb
startWaitingReason := "ContainerCreating" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SergeyKanzhelev yes, I've modified, thanks!
/hold while waiting on author |
17e44f8
to
4103ff4
Compare
Signed-off-by: PingWang <wang.ping5@zte.com.cn> update fmt Signed-off-by: PingWang <wang.ping5@zte.com.cn> update test Signed-off-by: PingWang <wang.ping5@zte.com.cn>
/retest |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrunalp, ping035627 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Extract the const for ContainerStateReason.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/release-note-none
/priority backlog
/triage accepted