Skip to content
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

[simple-app] Drop the preStop default from 30s to 10s #52

Merged
merged 1 commit into from
Sep 11, 2021

Conversation

diranged
Copy link
Contributor

No description provided.

@diranged diranged requested a review from a team as a code owner September 10, 2021 22:57
# https://docs.flagger.app/tutorials/zero-downtime-deployments#graceful-shutdown
preStopCommand:
- /bin/sleep
- '30'
- '10'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be worth commenting that the reason we are doing this is to give the pod time to get deregistered from the service.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the link to the blog post is sufficient

@diranged diranged merged commit 76e031a into main Sep 11, 2021
@diranged diranged deleted the shorten_prestop branch September 11, 2021 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants