`KubePodCrashLooping` alert fires but the pod is in `Completed` state
BeginnerTroubleshootingKubernetes monitoring and the Prometheus Operator
Answer
Likely causes → A Job/CronJob pod with restartPolicy: OnFailure retried and the alert expression counts container restarts without excluding Jobs.
Diagnose → kube_pod_owner{owner_kind="Job"} for the pod.
Fix → Exclude Jobs or alert on kube_job_failed instead.
Prevent → Tune default kube-prometheus rules for your workload mix.
More on Kubernetes monitoring and the Prometheus Operator
A new ServiceMonitor is not picked up by the Prometheus OperatorIntermediateServiceMonitor is selected but its targets don't appear on `/targets`IntermediateServiceMonitor target appears but Operator logs `skipping servicemonitor ... failed to get secret`AdvancedPodMonitor targets show `DOWN` with `connection refused` on port 8080 while the app listens on 9090BeginnerPrometheusRule created but rules don't show in PrometheusIntermediate`KubeletDown` / `TargetDown` alerts fire for kube-scheduler and kube-controller-manager on EKS/GKEBeginner