Skip to content

Discover application uptime checks from their Kubernetes Services - #526

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

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

Conversation

@edgard

@edgard edgard commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

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 Declare routed uptime probes on their owning Services #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.

@edgard
edgard merged commit 5d66ad3 into master Nov 22, 2026
4 checks passed
@edgard
edgard deleted the codex-uptime-service-discovery branch November 22, 2026 01:09
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