-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
updated probe handler types descriptions #106285
updated probe handler types descriptions #106285
Conversation
cc: @thockin |
80dc04f
to
b39b962
Compare
/assign @ehashman |
/retest |
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.
added comments for reviewers
@@ -2235,9 +2229,8 @@ type Lifecycle struct { | |||
// PreStop is called immediately before a container is terminated due to an | |||
// API request or management event such as liveness/startup probe failure, | |||
// preemption, resource contention, etc. The handler is not called if the | |||
// container crashes or exits. The reason for termination is passed to the |
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.
The reason for termination is passed to the handler.
I don't know what this is referring to. I didn't find evidence that this is true or was true at some point
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.
Fixes #99250.
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.
LGTM overall
b39b962
to
16e5849
Compare
16e5849
to
1687a1c
Compare
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.
Thanks!
/lgtm
/approve
Removed LGTM Is the goal to make these changes user-visible? The equivalent changes need to be made in staging/src/k8s.io/api/... and then a million hack/update-* need to run. |
Yes, I was about to send another PR =). Updating this one |
1687a1c
to
f0ed1a3
Compare
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SergeyKanzhelev, 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 |
Follow up of #105979
What type of PR is this?
Comments added may not be needed as the consistency long term will be guaranteed by back compatibility requirement.
Also removed todo and false statements.
/kind cleanup
/sig node
/priority backlog
/label api-review