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

How to deal with K8s timelimit in 30s ? #80

Open
maffka123 opened this issue Dec 2, 2024 · 0 comments
Open

How to deal with K8s timelimit in 30s ? #80

maffka123 opened this issue Dec 2, 2024 · 0 comments

Comments

@maffka123
Copy link

Hi,

I am relatively new to the topic. As far as I understand certManager contacts custom webhook over Kube API which has timelimit of 30 s? Our custom webhook is designed so that it sends a request to the certbot Service (which is located outside of our responsibility) and than it waits until DNS entry is done, before sending 200 back. This takes much more than 30s and because of this (if I understand correctly) certManager sends like 6 requests one after another, which all are not really answered than properly by our webhook.
How can I deal with it? If I send 200 right after sending request to the certBot, than certManager immediately sends cleanUp request.
Is there a way to send back some "wait for it and check later" response?

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

No branches or pull requests

1 participant