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 readiness healthcheck generation by label #1366
Add readiness healthcheck generation by label #1366
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jvitor83 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I think this PR is ready.
I think the option 2 is good enouth (this PR), but i agree and can change to 3 also if wanted. If the mainteiners think the same, i believe this can be merged. |
(Sorry for the very late response, it won't happen again). I'm not total against or support this kind of feature. Since i think this project is mainly a single direction map, from compose -> kubernetes. So the main focus is on what compose provides and how they should map to kubernetes. Liveness and Readiness is a mainly a kubernetes feature, so we don't spend time many on this .But i think this PR is good enough to be merged, this can helps a lot of people. There is no perfect soultion on this kind of mismatch. I will review this code now. |
/lgtm |
@jvitor83 Thanks very much for this contribution! |
Related: #1262
Allow the readiness healthcheck to be configured independent from the docker-compose healthcheck (liveness).
The following
docker-compose.yml
generates the
deployment.yml
:This way, if wanted, both readiness and liveness can be configured.