Post

Aligning Uptime Kuma workload monitors with the controllers actually deployed

Aligning Uptime Kuma workload monitors with the controllers actually deployed

My workload monitor catalog had drifted from reality in three places: a controller whose Deployment was renamed, a dashboard app whose monitor pointed at the wrong path, and a suspended CronJob whose monitor needed a real suspension override rather than a chart default. This push realigns the catalog with the rendered manifests and moves the checks from description to assertion. The test files changed here, so I explicitly am not claiming test results; the next step is watching the suites run green.

Matching monitors to the controller Deployments that exist

The Argo CD Image Updater monitor now targets the argocd-image-updater-controller Deployment instead of the older name. The catalog test reads the rendered chart output and asserts that the monitor’s workload list equals the Deployment’s actual namespace and name, so a rename in the chart can no longer silently orphan the monitor. Compass got the same treatment through a fixture that reads the Homepage Deployment manifest and requires the app’s source path to point at that application directory plus an enabled monitor. The assertion compares the workload tuple against the rendered kind, namespace and name rather than against a hand-written string.

Descheduler suspension is proven from the registration, not the chart

The Descheduler chart values always default to suspended, which meant the previous blanket rule of treating suspended lifecycle apps as exempt was doing no real verification. The check now special-cases Descheduler: it parses the registration file for named value overrides and requires exactly a CronJob kind and a true suspend entry. The test mirrors that by patching the read to strip the override and confirming the check fails without it. Keeping the former Deployment monitor paused under its existing key preserves history instead of rewriting the dashboard each time the workload shape changes.

Catalog counts and ownership claims now match the committed sources

The inventory notes were rewritten around the current numbers: seventy-two app entries, sixty-seven monitors, fifty-eight enabled. The validation-gate notes were corrected too, including a phrase that had been broken mid-sentence, so the description of what the catalog checks actually do lines up with the assertions. Active entries still need direct health or an exact supporting workload signal, and the notes now state plainly that workload signals cover the workload condition only, with browser workflows needing their own checks. A platform team hitting the same drift can copy the pattern: derive monitor targets from rendered manifests, assert the exemption is controlled by the registration rather than a chart default, and keep the paused monitor key so history survives the migration.

This post is licensed under CC BY 4.0 by the author.