You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(monitoring): the logormetricvolumedisklow alert evaluates while a pod moves between nodes #2148
LogOrMetricVolumeDiskLow in k8s/monitoring/prometheus-values.yaml joins kube_pod_info with group_left (node). While a pod moves between nodes, kube_pod_info has a series for the pod on two nodes, and Prometheus refuses the rule with "many-to-many matching not allowed", so the alert does not evaluate. On 2026-10-24 the new rule LocalPathNodeDiskHigh (#1634) failed live in the same way with a group_left form, while the alloy-metrics pod moved, and #1634 wrote it with and instead.
What should happen
LogOrMetricVolumeDiskLow evaluates while a pod moves: it joins on a label set that has one series for each pod (for example with max by (namespace, pod, node) on kube_pod_info before the join, or with and as LocalPathNodeDiskHigh does).
Acceptance criteria
A rule test (promtool test rules, as the other alert tests do) gives kube_pod_info two series for one pod on two nodes and shows that the alert still fires for a low volume.
The feasibility check for issue #2148 failed.
The acceptance criteria require a rule test that uses promtool test rules like the other alert tests do.
The system does not have promtool installed (which promtool returns exit status 1).
No tests in this repository use promtool test rules.
The alert tests in tests/test_k8s_monitoring_alerting.py use Python parsers and PromQL selector inspections.
The design record in openspec/changes/archive/2026-10-24-2194-dashboard-local-savings/design.md previously rejected promtool test rules.
It records that no test or CI job uses promtool, and GitHub runners do not have it.
Also, LogOrMetricVolumeDiskLow in k8s/monitoring/prometheus-values.yaml already contains max by (namespace, pod, node) (kube_pod_info).
Because the item cannot be built as written without compensating code, AGENTS.md Rule 2 requires returning the item to New.
Activity
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate fixes a bug in alert evaluation during pod movement.This is a medium priority issue affecting monitoring accuracy during normal pod operations.Fixing the alert improves system observability and reliability for users.The fix involves changing how Prometheus joins data, which is a small change to existing code.Both items work on volume placement and pod movement, but the candidate fixes an alert evaluation issue while the related item moves volumes off control-plane nodes.fix(k8s): stateful local-path volumes bind on nodes with disk headroo…
dan-petty commentedon Oct 27, 2026
The feasibility check for issue #2148 failed.
The acceptance criteria require a rule test that uses
promtool test ruleslike the other alert tests do.The system does not have
promtoolinstalled (which promtoolreturns exit status 1).No tests in this repository use
promtool test rules.The alert tests in
tests/test_k8s_monitoring_alerting.pyuse Python parsers and PromQL selector inspections.The design record in
openspec/changes/archive/2026-10-24-2194-dashboard-local-savings/design.mdpreviously rejectedpromtool test rules.It records that no test or CI job uses
promtool, and GitHub runners do not have it.Also,
LogOrMetricVolumeDiskLowink8s/monitoring/prometheus-values.yamlalready containsmax by (namespace, pod, node) (kube_pod_info).Because the item cannot be built as written without compensating code, AGENTS.md Rule 2 requires returning the item to New.