-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 default readiness check for webhook server? #723
Comments
yeah, that makes sense |
/kind feature |
@DirectXMan12 I can work on this. How much flexibility would you like for the check? Should we add |
/help |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@vincepri I'm still interested in working on this. Do you have thoughts on my question above? |
I'd start simple and hardcode the Readyz checks for now, we can provide a flag later. This should also be backward compatible |
Define backward compat here? |
As in, adding new endpoints for readiness is additive and doesn't impact the current behaviors of the webhook server |
Just curious, what is this supposed to on top of #419 ? Just to use the probe by default? It seems fairly simple to add a readiness probe in the current state of the controller-runtime. |
This would just be exposing checks that people could configure in their pods. Not sure there's any compat issues or impacts. @phoracek please see the description above for the rationale. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
@ncdc are you still working on this? I've just spent many hours trying to figure out a nice way how to create such readiness check from outside that I am starting to think it would be easier to implement it within controller-runtime |
@alenkacz not at the moment, no |
In the Cluster API project, we're trying to automate the following in our CI testing:
Cluster
,Machine
, etc.When we're waiting for the Cluster API pods to be ready, we've noticed some test flakes because it appears the pods are ready but their webhook servers are not fully online and ready to respond to requests yet.
I've thought about adding a readiness probe to our Manager, but I believe there is still a chance that it could return a false positive; i.e., the check returns ready, but because the webhook server is technically a different server than the readiness server, the webhook server might not be ready yet.
Would it make sense to add a default readiness check for the webhook server?
The text was updated successfully, but these errors were encountered: