-
Notifications
You must be signed in to change notification settings - Fork 41.5k
KEP 4960: Container Stop Signals #130556
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
KEP 4960: Container Stop Signals #130556
Conversation
Skipping CI for Draft Pull Request. |
@sreeram-venkitesh Could you move this from draft? Reviewers won't typically look at it if it is in draft. |
There are a bunch of tests which will fail now. I had kept the PR in draft until the tests were fixed. I will push the test fixes later today. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sreeram-venkitesh, thockin 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 |
message Lifecycle { | ||
// The custom stop signal for the container | ||
Signal stop_signal = 1; | ||
Signal stop_signal = 18; |
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.
nit: Can you merge this into the commit introducing the CRI change so the commit history is clean?
SIGWINCH = 32; | ||
SIGXCPU = 33; | ||
SIGXFSZ = 34; | ||
SIGALRM = 2; |
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.
nit: Can we move this entire commit to where CRI api changes are first introduced?
d78cbf4
to
52c3010
Compare
/lgtm great work @sreeram-venkitesh ! |
LGTM label has been added. Git tree hash: 3ad4fef30b05678d768c0bf7ec53c93d4fb0f415
|
/milestone v1.33 |
The test failure seems to be unrelated. Will try retesting once all the checks are completed. |
/retest |
@sreeram-venkitesh: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/retest |
What type of PR is this?
/kind feature
/kind api-change
/sig node
What this PR does / why we need it:
This PR includes the implementation for the alpha realease of kubernetes/enhancements#4960. We're adding a new Container Lifecycle, StopSignal, with which users can configure custom stop signals for their containers. This involves changes to the CRI API as well.
Which issue(s) this PR fixes:
Part of kubernetes/enhancements#4960
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: