Interview Prep/GitOps & Argo CD/ApplicationSets, Rollouts & Image Updater

An AnalysisRun shows `Error` with `Post "http://prometheus.monitoring:9090/api/v1/query": dial tcp: lookup prometheus.monitoring on 10.96.0.10:53: no such host`.

BeginnerTroubleshootingApplicationSets, Rollouts & Image Updater
Answer

Likely causes → Wrong Prometheus address (short name instead of prometheus-server.monitoring.svc.cluster.local, wrong port), or a NetworkPolicy blocks the rollout namespace from reaching monitoring.

Diagnose → kubectl -n monitoring get svc; test with kubectl run tmp --rm -it --image=curlimages/curl -- curl <address>/-/ready.

Fix → Correct provider.prometheus.address in the AnalysisTemplate, or allow the traffic. Note that measurement errors count against consecutiveErrorLimit (default 4) and then abort.

Prevent → Use a ClusterAnalysisTemplate maintained by the platform team with the verified address.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on ApplicationSets, Rollouts & Image Updater