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

helm: update livenessProbe to retry 5 times before failing #1407

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

willfindlay
Copy link
Contributor

We noticed issues in testing where gRPC queries would sometimes spuriously time out, causing our livenessProbe to fail and the Tetragon pod to restart. 7f2edda and 4f4feb8 introduced new configuration values in our CLI to allow it to re-attempt the connection in case of failure. Update our livenessProbe in helm to use these new configuration values so that we can re-attempt the connection.

@willfindlay willfindlay requested a review from a team as a code owner August 30, 2023 15:17
@willfindlay willfindlay added the release-note/minor This PR introduces a minor user-visible change label Aug 30, 2023
@willfindlay willfindlay force-pushed the pr/willfindlay/update-livenessprobe branch from b3eb6bd to c39b08b Compare August 30, 2023 15:21
We noticed issues in testing where gRPC queries would sometimes spuriously time out,
causing our livenessProbe to fail and the Tetragon pod to restart. 7f2edda and 4f4feb8
introduced new configuration values in our CLI to allow it to re-attempt the connection in
case of failure. Update our livenessProbe in helm to use these new configuration values so
that we can re-attempt the connection.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay force-pushed the pr/willfindlay/update-livenessprobe branch from c39b08b to 3fbe336 Compare August 30, 2023 15:26
@jrfastab
Copy link
Contributor

Lgtm

@jrfastab
Copy link
Contributor

What was the old timeout default value?

@willfindlay
Copy link
Contributor Author

@jrfastab it was 1 second with no retries. Now it's 60 with 5 retries (each attempt takes 10 seconds with some extra time for exponential backoff).

@jrfastab jrfastab merged commit 0b69cc8 into main Sep 11, 2023
26 checks passed
@jrfastab jrfastab deleted the pr/willfindlay/update-livenessprobe branch September 11, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants