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

fix: increase init delay for liveness probe #601

Merged
merged 1 commit into from
Mar 8, 2019
Merged

fix: increase init delay for liveness probe #601

merged 1 commit into from
Mar 8, 2019

Conversation

thsig
Copy link
Collaborator

@thsig thsig commented Mar 7, 2019

The initial delay in the liveness probe config for k8s health checks was too short. This was due to the mistaken assumption that k8s would only start running the liveness probe after the readiness probe succeeded.

For services that take a long time to start up, the old config would sometimes lead to the liveness probe failing and thus the container being restarted - repeatedly, in some situations.

The initial delay and frequency of the readiness probe were also reduced.

Later, we should aim to make initialDelaySeconds configurable for the liveness probe.

@thsig thsig force-pushed the fix-probes branch 2 times, most recently from 838da55 to 9f9d2a3 Compare March 7, 2019 18:53
@thsig thsig force-pushed the fix-probes branch 2 times, most recently from 6801e71 to df3dc5f Compare March 8, 2019 12:58
The initial delay in the liveness probe config for k8s health checks was
too short. This was due to the mistaken assumption that k8s would only
start running the liveness probe after the readiness probe succeeded.

For services that take a long time to start up, the old config would
sometimes lead to the liveness probe failing and thus the container
being restarted - repeatedly, in some situations.

The initial delay and frequency of the readiness probe were also
reduced.

Later, we should aim to make initialDelaySeconds configurable for the
liveness probe.
@thsig thsig merged commit f2ce8ae into master Mar 8, 2019
@thsig thsig deleted the fix-probes branch March 8, 2019 14:50
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