kubernetes / node-problem-detector

This is a place for various problem detectors running on the Kubernetes nodes.
Apache License 2.0
2.83k stars 615 forks source link

Load rule from configmap #893

Open AllenXu93 opened 3 months ago

AllenXu93 commented 3 months ago

Now NPD load rules from local file, from pod mount or builtin container; Do we have plan to support load rules from apiServer configmap content ? If so, I would like to contribute PRs for that.

wangzhen127 commented 3 months ago

NPD's goal is to detect infra layer issues, which is one layer below the kubernetes in general. So it is recommended to reduce dependencies to other components like API server. And running NPD in system daemon mode can only depend on files.

But I know kops is using NPD in daemonset mode, so there is dependency on API server already. @hakman WDYT?

hakman commented 3 months ago

@wangzhen127 I would be interested on the use case more and if they just want to reload. That should be possible from mounted configmap also.

wangzhen127 commented 3 months ago

/kind feature

k8s-triage-robot commented 5 days ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale