Skip to content

feat: NPD prober-like readiness plugin #138

@ajaysundark

Description

@ajaysundark

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.

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 0 for healthy, 1 for unhealthy.
    • Emits basic logs.
  • Provide example config / NPD plugin manifest to demonstrate usage.

Acceptance criteria:

  • A new example npd plugin implementation in examples/ or cmd/ 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.

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions