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 startup probe to connect inject deployment. #701

Merged
merged 2 commits into from
Aug 31, 2021

Conversation

ishustava
Copy link
Contributor

@ishustava ishustava commented Aug 31, 2021

We did so in hashicorp/consul-helm#885, but it never got released.
This adds the same probe now that we have a health endpoint in the webhook.

This also changes the periodSeconds for the liveness and readiness probes
to use the default of 10s instead of 2s we used previously.
That is because now with the startup probe in place,
we don't need to check for certs being present that frequently.

How I've tested this PR:

  • acceptance tests

How I expect reviewers to test this PR:

  • code review

Checklist:

  • [n/a] Tests added
  • CHANGELOG entry added (HashiCorp engineers only, community PRs should not add a changelog entry)

We did so in hashicorp/consul-helm#885, but it never got released.
This adds the same probe now that we have a health endpoint in the webhook.

This also changes the periodSeconds for the liveness and readiness probes
to use the default of 10s instead of 2s we used previously.
That is because now with the startup probe in place,
we don't need to check for certs being present that frequently.
@ishustava ishustava merged commit a1a3586 into main Aug 31, 2021
@ishustava ishustava deleted the connect-inject-startup-probe branch August 31, 2021 18:32
lawliet89 pushed a commit to lawliet89/consul-k8s that referenced this pull request Sep 13, 2021
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.

3 participants