Hi Team, I am using this query to check all these pod statuses and trigger an alert if any one is down or if all is down. but its not working as expected, can you please help us on this.
absent(kube_pod_info{pod=~".*authentication-operator.*|.*etcd-operator.*|.*ingress-operator.*|.*kube-apiserver-operator.*|.*kube-controller-manager-operator.*|.*kube-scheduler-operator.*|.*kube-storage-version-migrator-operator.*|.*monitoring-operator.*|.*network-operator.*|.*openshift-apiserver-operator.*|.*openshift-controller-manager-operator.*|.*cloud-credential-operator.*|.*cluster-autoscaler-operator.*|.*openshift-config-operator.*|.*console-operator.*|.*machine-api-operator.*|.*machine-approver.*|.*machine-config-operator.*|.*node-tuning-operator.*|.*storage-operator.*|.*prometheus-operator.*"}) == 1 -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e23a20f1-35da-4a37-b2f0-b0980fb78be5n%40googlegroups.com.