-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Move "docker-healthcheck" to DockerBuilder #8221
Conversation
Hi @hakman. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/assign @justinsb |
/test pull-kops-e2e-kubernetes-aws |
b2e6d91
to
fcf288c
Compare
09908bf
to
3976fb6
Compare
@justinsb did you get a chance ask around if this is still needed or if there is a better place for it in the Kops code? |
The guidance I got was that much of the functionality has moved to Node Problem Detector and we likely don't need the healthcheck itself any more. So I propose we get this in so we stop using it at least for containerd, , and maybe also add NPD support. Given release timings I'm not sure if / how far we want to backport this. Probably not 1.16, maybe 1.17 (but maybe not). We then have a choice: we can either actively stop using the healthcheck with docker, or we can nudge people towards containerd, effectively stopping the healthcheck in that way. |
3976fb6
to
4b4a46e
Compare
@justinsb I added some release notes for this. Seems something people should read about before upgrading. I don't have any plans to backport this to any release branch, unless you think it would be good to have it in 1.17 also. Support for Node Problem Detector seems interesting and something we should support. Will look into it. Not sure if I understand the last part of your last comment. Do you think I should change the default for the health check to be enabled for Docker? |
f130aa5
to
c837652
Compare
@justinsb the last commit keeps the Docker "health-check" enabled for older versions of Kubernetes running on Debian distros (like the original behaviour). I think this should address the remaining concerns. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -34,6 +34,8 @@ type DockerConfig struct { | |||
ExecRoot *string `json:"execRoot,omitempty" flag:"exec-root"` | |||
// Experimental features permits enabling new features such as dockerd metrics | |||
Experimental *bool `json:"experimental,omitempty" flag:"experimental"` | |||
// HealthCheck enables the periodic health-check service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
// HealthCheck enables the periodic health-check service | |
// HealthCheck enables the periodic health-check service. |
Thanks @hakman for this, and sorry it took so long to approve /approve Looks like we might need a test-output regeneration though, I'm afraid. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thank you @justinsb. With this, the support for containerd should be pretty much done. |
42aab4c
to
a9a5a70
Compare
a9a5a70
to
6a28d4f
Compare
/lgtm |
The Docker health check should be running only when the container runtime is Docker. At the moment it is also triggered for containerd.
This change moves the
docker-healthcheck
script, service and timer to DockerBuilder.Based on Office Hours discussion, the health check will be enabled through a new config option: