-
Notifications
You must be signed in to change notification settings - Fork 2.1k
helm: add wait initContainer and preStop hooks #20106
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
46c211a
helm: add wait initContainer and preStop hooks
hugoShaka ea2a536
bug: fix mishandling of NXDOMAIN answers in `wait no-resolve`
hugoShaka e29868d
helm: fix auth deployment value overrides
hugoShaka 8841898
Apply suggestions from code review
hugoShaka 4bb1db3
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka 7c5c577
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka 40aab0b
fixup! Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka 75dea26
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka e3508d6
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka 707bbf5
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka ab42429
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka b539004
Merge branch 'master' into hugo/helm-wait-hooks
hugoShaka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I wonder if we could also use this to have proxies unregister themselves on shutdown in future to mitigate #20057
Uh oh!
There was an error while loading. Please reload this page.
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.
Unregistering would be a nice improvement, but I'm not sure
preStopis the best place because it is implementation-specific (Terraform/CloudFormation have the same issue), and we don't have control over the concurrency withpreStop. Maybe the proxy will take 2 minutes to shut down, and I don't know what would happen if it gets unregistered while it has not finished doing its job. IMO the best place to do it would be in the graceful shutdown sequence.Agendas are a little packed right now because of v12, but I'll raise this issue to folks who know more than me about registration and shutdown sequence once things settle down.