-
Notifications
You must be signed in to change notification settings - Fork 485
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
health_check extension mandatory #242
Comments
I think you are correct. If the health check extension is not enabled then the hardcoded probes will not work. We should add a way to modify the probes so that disabling the health check extension is possible. Would you like to work on that? |
What is the problem with this? |
Is this for sure? Can't you technically deploy something without liveliness and readiness probes? Probably not a good idea but I think you can. If we want to prevent bad practices and enforce the best practices of liveliness and readiness probes via the chart then we should also make it clear somewhere that health_check is a required extension and should not be removed. |
You can, but why? Is there a real life reason for that? |
@Tobrek do you have a reason for wanting to deploy without health checks? |
I had no specific reason to do so. The manually installed collector before had no health check and i just tried to "copy" the deployment.yaml from before with the helm chart.
How can i add the extension outside the helm chart? Just as curious question.
I can do / try that, when you tell me what's your preferred solution: |
Unless there is a good use case for the opposite, I would say we fall into "the health_check extension is mandatory" scenario. We can add something to the values.yaml comments to indicated that the healthcheckextension should never be disabled. |
Why is this closed by adding comment? Wouldn't the right solution be to merge the given config with an empty health check config? |
Currently the health_check extension is kind of mandatory to be enabled, because the livenessProbe and readinessProbe can't be disabled, when the health_check extension should not be used. But without the extension the checks fail and the running pod is never healthy.
If i set in values.yaml
i get (regardless if contrib is used or not)
Allowing just the health_check extension
everything works fine.
(Allowing memory_ballast is crashing the application - "Error: failed to start extensions: path '/docker/f82533b[...]' is not a descendant of mount point root '/docker/f82533b[...]/kubelet' and cannot be exposed from '/sys/fs/cgroup/rdma/kubelet'"
The text was updated successfully, but these errors were encountered: