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

Add a startup probe #1284

Merged
merged 1 commit into from
Sep 24, 2022
Merged

Add a startup probe #1284

merged 1 commit into from
Sep 24, 2022

Conversation

hrenard
Copy link
Contributor

@hrenard hrenard commented Sep 13, 2022

This is a proposal to address #600 and #947. The goal is to minimize errors or downtime during a rollout.

With a startup probe, k8s will wait for the server to be up before routing traffic to it and deleting another pod. Hopefully this will speed up the (re)connection to the cluster of fresh servers and avoid having too many servers down at the same time.

A potential issue could be if we want to make a critical change in the config which would require to restart all servers at almost the same time. But because upgrade is managed in-place, I believe a rollout don't require disturbing the cluster.

What do you think ?

@harshavardhana
Copy link
Member

@hrenard please rebase this with master?

@hrenard
Copy link
Contributor Author

hrenard commented Sep 22, 2022

Done.
This discussion is also in the theme of reducing downtime, if you have few minutes to spare.

harshavardhana
harshavardhana previously approved these changes Sep 22, 2022
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
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.

4 participants