Interview Prep/Monitoring & Observability/Kubernetes & Multi-Cluster Observability

How do you add synthetic (blackbox) monitoring to an internal Kubernetes platform?

BeginnerProductionKubernetes & Multi-Cluster Observability
Answer

Run the blackbox exporter and declare probes with the operator's Probe CRD. It tests from the outside in: DNS, TCP, TLS and HTTP status, which catches broken ingress or certs that internal metrics miss.

apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata: { name: shop-public, namespace: observability }
spec:
  interval: 30s
  module: http_2xx
  prober: { url: blackbox-exporter.observability.svc:9115 }
  targets:
    staticConfig: { static: ["https://shop.example.com/healthz"] }

Alert on probe_success == 0 for 3 minutes from at least two probe locations, so one bad probe network does not page.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes & Multi-Cluster Observability