Skip to content

Declare routed uptime probes on their owning Services - #525

Merged
edgard merged 1 commit into
masterfrom
codex-uptime-service-metadata
Nov 22, 2026
Merged

edgard merged 1 commit into
masterfrom
codex-uptime-service-metadata

Conversation

@edgard

@edgard edgard commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Changes

  • Opt the 18 existing routed app probes into Service discovery. App-template releases render probe URLs from their actual route hostname. Preserve the application-specific health paths and the existing release labels.
  • Give the VictoriaMetrics service account permission to list and watch Services in the four application namespaces through separate RoleBindings.
  • Stage metadata and permissions while the original production scraper continues to operate. The collector change follows the live comparison.

Checks

  • Rendered all 18 releases with pinned charts. Each produced one opted-in frontend Service with the correct named port, routed URL and stable instance label. Compared URLs, health paths and identities with the current configuration.
  • Ran the pinned VictoriaMetrics binary against rendered Service fixtures. The discovery candidate produced exactly 28 expected probe identities. Extra Service ports, missing opt-ins and out-of-scope URLs were excluded.
  • Ran task fmt, task test -- validation/test_wiki.py, task check and git diff --cached --check. All 28 repository tests passed.
  • Updated the app pages, monitoring runbook and wiki log.

@edgard
edgard merged commit 732cbda into master Nov 22, 2026
4 checks passed
@edgard
edgard deleted the codex-uptime-service-metadata branch November 22, 2026 01:06
edgard added a commit that referenced this pull request Nov 22, 2026
## Changes

- Switch the application Blackbox scrape pool to native Kubernetes
Service discovery in the existing single-node VictoriaMetrics process.
Select opted-in Services and their HTTP port in four namespaces.
- Use each Service’s routed HTTPS URL and standard release label. Keep
the existing uptime job, group and instance labels used by Grafana
alerts and dashboard history.
- Keep the ten infrastructure/external probes and the four direct metric
scrapes as configured. Document onboarding and target removal in the
operator workflow, VictoriaMetrics page and monitoring runbook.

## Verification

- Checked all 18 rendered frontend Services against their current
targets and HTTPRoutes. Booted the pinned VictoriaMetrics binary against
a local discovery fixture. Verified 28 unique probe tuples, named-port
selection, label opt-in and URL filtering.
- Validated the complete scrape configuration using the deployed
VictoriaMetrics binary in dry-run mode. Confirmed all four direct scrape
configurations and ten static probe definitions are preserved.
- Ran `task fmt`, `task test -- validation/test_wiki.py`, `task check`
and `git diff --cached --check`. All 28 repository tests passed.
- Verified all 18 live opted-in Services and namespace-scoped
permissions after #525. Ran an isolated in-cluster scraper with the
deployed image, the production service account and ephemeral storage.
All 28 active target identities, complete Blackbox URLs, scrape health
and probe outcomes matched production. Removed the temporary pod and
ConfigMap after comparison.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant