-
Notifications
You must be signed in to change notification settings - Fork 26
feat: NPD prober-like readiness plugin #138
Copy link
Copy link
Open
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Description
Implement a Node Problem Detector (NPD) custom plugin that runs a probe (similar to kubelet probes) and returns exit code 0/1 to indicate readiness. This allows operators who are familiar with pod readiness/liveness probes to reuse that configuration style for node-level readiness reporting.
- Reuses a familiar probe model so users can express readiness checks the same way they already do for pods.
- Can be deployed as an NPD plugin (lightweight go-lang binary to give exit status as per NPD
requirements). - This can be integrated into node-readiness-controller example
(static-pod initialization for proper resource accounting #125) in the future.
Proposal:
- Add documentation and an example NPD plugin that:
- Accepts probe configuration (HTTP/TCP like semantics) similar to kubelet probes.
- Runs on the node and exits with code
0for healthy,1for unhealthy. - Emits basic logs.
- Provide example config / NPD plugin manifest to demonstrate usage.
Acceptance criteria:
- A new example
npdplugin implementation inexamples/orcmd/that demonstrates an HTTP probe and returns exit codes. - Doc updates for showing how to configure the plugin and how it maps to node conditions or consumption by
node-readiness-controller. - Tests to validate the plugin behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.