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

Operator pod readiness probe to wait for webhook #280

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

spilchen
Copy link
Collaborator

The controller-runtime added a health check that will return only when the webhook is up. However, it isn't enabled by default. Instead we just use the normal 'ping' checking, which returns as soon as the pod is running. This commit is to change the readiness probe to use the one in controller-runtime that waits for the webhook.

As part of this, I removed the manual webhook check that we use for the e2e tests.

Closes #30

The controller-runtime added a health check that will return only when the
webhook is up. However, it isn't enabled by default. Instead we just use
the normal 'ping' checking, which returns as soon as the pod is running.
This commit is to change the readiness probe to use the one in
controller-runtime that waits for the webhook.

As part of this, I removed the manual webhook check that we use for the
e2e tests.
@spilchen spilchen self-assigned this Oct 26, 2022
@spilchen spilchen merged commit dc980b7 into vertica:main Oct 26, 2022
@spilchen spilchen deleted the webhook-readiness-probe branch October 26, 2022 23:00
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.

Webhook server could not answer in time
1 participant