-
Notifications
You must be signed in to change notification settings - Fork 165
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
bindata/assets/alerts/api-usage: Include removed_release in APIRemovedInNext*ReleaseInUse labels #1367
bindata/assets/alerts/api-usage: Include removed_release in APIRemovedInNext*ReleaseInUse labels #1367
Conversation
14cd0e2
to
584c549
Compare
In a cluster-bot cluster from $ cat pdb.yaml
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: prow-pods
namespace: openshift
spec:
maxUnavailable: 0
selector:
matchLabels:
created-by-prow: "true" Creating and deleting the PDB to drive up some API traffic on the deprecated version: for i in $(seq 10); do
oc apply -f pdb.yaml
oc -n openshift delete poddisruptionbudget prow-pods
done The firing alerts do include the new label and they render it in their description: |
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.
/lgtm
/retest |
/approve |
/retest required |
@wking: The
The following commands are available to trigger optional jobs:
Use
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. |
/retest-required |
1 similar comment
/retest-required |
584c549
to
b0f55b9
Compare
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.
The line breaks are causing issues with the regex used in the tests.
b04153a
to
5272c84
Compare
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.
/lgtm
/retest-required |
3 similar comments
/retest-required |
/retest-required |
/retest-required |
/hold Revision 5272c84 was retested 3 times: holding |
…dInNext*ReleaseInUse labels There may be version skew around updates, where an alert gets bumped to consider 1.26 "the next release" while other cluster components are still running 1.25, or vice versa. This change makes it a bit easier to understand those skew issues by explicitly including in the alert description (and Telemetry-uploaded alert labels) the removed_release value we're complaining about.
5272c84
to
c5593cb
Compare
@wking: The following tests failed, say
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. |
Finally green enough 😅 /hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sanchezl, tkashem, wking 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 |
There may be version skew around updates, where an alert gets bumped to consider 1.26 "the next release" while other cluster components are still running 1.25, or vice versa. This change makes it a bit easier to understand those skew issues by explicitly including in the alert
description
(and Telemetry-uploaded alert labels) theremoved_release
value we're complaining about.