Created
April 11, 2023 21:24
-
-
Save paulp/0d6df08b163dc1f525145ea032c7faed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sum by (namespace) ( | |
kube_pod_status_phase{phase="Pending",namespace="<your_namespace>"} * on(pod) group_left | |
(time() - kube_pod_created{namespace="<your_namespace>"}) > 300 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment