Skip to content
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

Closed

Conversation

raptorsun
Copy link
Contributor

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 21, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 21, 2022
rules:
- alert: KubePodNotScheduled
annotations:
description: There is no place to schedule certain pods while meeting all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"}
Copy link
Contributor

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.

Suggested change
kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown|Failed"}
kube_pod_status_phase{job="kube-state-metrics", phase=~"Pending|Unknown"}

@raptorsun raptorsun force-pushed the feature/alert-KubePodNotScheduled branch from 1f6072b to 6f0dccd Compare October 26, 2022 14:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2022

@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.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 28, 2022
@openshift-merge-robot
Copy link
Contributor

@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.

@raptorsun
Copy link
Contributor Author

/close
https://issues.redhat.com/browse/TRT-589 is fixed and KubePodNotReady alert is restored in master branch.

@openshift-ci openshift-ci bot closed this Jan 5, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 5, 2023

@raptorsun: Closed this PR.

In response to this:

/close
https://issues.redhat.com/browse/TRT-589 is fixed and KubePodNotReady alert is restored in master branch.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants