fix(monitoring): add release label so node-health rules actually load #111

Merged
kblack0610 merged 1 commit from fix/node-health-rule-selector into master 2026-07-09 19:24:36 +00:00
Owner

Latent bug found while adding DiskPressure alerts (#109): homelab-node-health lacked the release=kube-prometheus-stack label the Prometheus ruleSelector requires, so NONE of its alerts (NodeDown included) have ever loaded. This label fixes it.

Latent bug found while adding DiskPressure alerts (#109): homelab-node-health lacked the release=kube-prometheus-stack label the Prometheus ruleSelector requires, so NONE of its alerts (NodeDown included) have ever loaded. This label fixes it.
The homelab-node-health PrometheusRule (NodeDown, NodeExporterAbsent, and the
new DiskPressure/root-fs alerts) was never loaded by Prometheus: its
ruleSelector matches {release: kube-prometheus-stack} and this rule lacked
that label. It has been dead since creation ~22d ago, so no node-health alert
has ever fired. Adding the label makes the operator select it.

Verified: the label is the only difference from the working stock node-exporter
PrometheusRule.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kblack0610/home-config!111
No description provided.