-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[do not merge] test alert KubePodNotScheduled #1804
[do not merge] test alert KubePodNotScheduled #1804
Conversation
raptorsun
commented
Oct 21, 2022
- I added CHANGELOG entry for this change.
- No user facing changes, so no entry in CHANGELOG was needed.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: raptorsun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
rules: | ||
- alert: KubePodNotScheduled | ||
annotations: | ||
description: There is no place to schedule certain pods while meeting all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: There is no place to schedule certain pods while meeting all | |
description: Pod {{ $labels.namespace}}/{{ $labels.pod }} can't be scheduled for longer than 30 minutes. |
expr: ||| | ||
sum by (namespace, pod, cluster) ( | ||
max by(namespace, pod, cluster) ( | ||
kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown|Failed"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to exclude Failed pods until https://issues.redhat.com/browse/TRT-589 is fixed.
kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown|Failed"} | |
kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown"} |
add alert KubePodNotScheduled.
1f6072b
to
6f0dccd
Compare
@raptorsun: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@raptorsun: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/close |
@raptorsun: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |