node-problem-detector icon indicating copy to clipboard operation
node-problem-detector copied to clipboard

:seedling: Remove Checking Docker Daemon

Open guettli opened this issue 8 months ago • 2 comments

The Docker Daemon is no longer supported by Kubernetes. This PR removes corresponding code.

guettli avatar Mar 24 '25 13:03 guettli

Hi @guettli. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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-sigs/prow repository.

k8s-ci-robot avatar Mar 24 '25 13:03 k8s-ci-robot

/ok-to-test

wangzhen127 avatar Apr 04 '25 17:04 wangzhen127

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: guettli Once this PR has been reviewed and has the lgtm label, please assign wangzhen127 for approval. For more information see the Code Review Process.

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Aug 13 '25 16:08 k8s-ci-robot

I think this is a good candidate to merge after cutting the branch. Any thoughts? /cc @SergeyKanzhelev @wangzhen127

hakman avatar Aug 13 '25 16:08 hakman

I think this is a good candidate to merge after cutting the branch. Any thoughts? /cc @SergeyKanzhelev @wangzhen127

My only thought is that there is a https://github.com/Mirantis/cri-dockerd that will benefit from having this code.

Hi @yevchuk-kostiantyn @anaxdev @awmirantis @smerkviladze @mlimardo1984 (from https://github.com/Mirantis/cri-dockerd/blob/master/.github/CODEOWNERS), are you interested to help support these monitors?

SergeyKanzhelev avatar Aug 13 '25 16:08 SergeyKanzhelev

If there will be no reply in a couple of days, lets merge.

SergeyKanzhelev avatar Aug 13 '25 16:08 SergeyKanzhelev

/retest

hakman avatar Aug 13 '25 16:08 hakman

@guettli: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-npd-e2e-kubernetes-gce-ubuntu dab43ba48a5ffdbfc26959dc7f1c3d40790ef19f link true /test pull-npd-e2e-kubernetes-gce-ubuntu
pull-npd-e2e-kubernetes-gce-gci dab43ba48a5ffdbfc26959dc7f1c3d40790ef19f link true /test pull-npd-e2e-kubernetes-gce-gci
pull-npd-e2e-kubernetes-gce-gci-custom-flags dab43ba48a5ffdbfc26959dc7f1c3d40790ef19f link true /test pull-npd-e2e-kubernetes-gce-gci-custom-flags
pull-npd-e2e-kubernetes-gce-ubuntu-custom-flags dab43ba48a5ffdbfc26959dc7f1c3d40790ef19f link true /test pull-npd-e2e-kubernetes-gce-ubuntu-custom-flags
pull-npd-e2e-test dab43ba48a5ffdbfc26959dc7f1c3d40790ef19f link true /test pull-npd-e2e-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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-sigs/prow repository. I understand the commands that are listed here.

k8s-ci-robot avatar Aug 13 '25 16:08 k8s-ci-robot

Hi @SergeyKanzhelev, thank you for tagging us and letting us know about this PR! It's true that customers of cri-dockerd (MCR/Docker) and node-problem-detector expect to have Docker Daemon monitors. We are definitely interested in maintaining and supporting them!

Please let us know the community's final decision. Meanwhile, we will familiarize ourselves with the contributing guidelines of this repository and define our workflow. Thanks again for letting us know!

yevchuk-kostiantyn avatar Aug 14 '25 01:08 yevchuk-kostiantyn

Hi @SergeyKanzhelev, thank you for tagging us and letting us know about this PR! It's true that customers of cri-dockerd (MCR/Docker) and node-problem-detector expect to have Docker Daemon monitors. We are definitely interested in maintaining and supporting them!

Please let us know the community's final decision. Meanwhile, we will familiarize ourselves with the contributing guidelines of this repository and define our workflow. Thanks again for letting us know!

I do not see a problem keeping docker monitors around. Especially if you know any users using it or planning to use it. I think we should close this PR and instead concentrating on making monitors and configurations as modular as possible.

@yevchuk-kostiantyn I would be curious to see feedback from people using NPD on nodes with cri-dockerd. Also if you want to review what NPD monitors for docker - it may be useful.

Also as a side note, some customers are running Docker for building images or running containers "outside" of the k8s control. Those may benefit from Docker monitoring.

If there is no objections, let's close this PR. @guettli thank you for proposing it

SergeyKanzhelev avatar Aug 14 '25 16:08 SergeyKanzhelev

@SergeyKanzhelev I think this PR has some valid changes. Let's discuss a little before closing.

hakman avatar Aug 14 '25 17:08 hakman

I am fine with keeping the checks. But we should document the use-case. I guess only few people know that docker daemon still gets used.

Where would be a good place for documenting that?

guettli avatar Aug 20 '25 07:08 guettli

I am fine with keeping the checks. But we should document the use-case. I guess only few people know that docker daemon still gets used.

Where would be a good place for documenting that?

Somewhere on the readme page.

For docker - there is a thin line. I believe we disabled it for GKE. But I can imaging somebody may want the frequent restart monitor for nodes where docker is used to run some CI environment

SergeyKanzhelev avatar Sep 05 '25 21:09 SergeyKanzhelev

PR needs rebase.

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-sigs/prow repository.

k8s-ci-robot avatar Sep 12 '25 00:09 k8s-ci-robot