Skip to content

Commit

Permalink
Merge pull request #361 from ingvagabund/fire-alert-when-using-legacy…
Browse files Browse the repository at this point in the history
…-policy-api

Fire SchedulerLegacyPolicySet alert when the legacy scheduler policy API is set
  • Loading branch information
openshift-merge-robot committed Jul 19, 2021
2 parents a221090 + 4fa2a8f commit 4084fa5
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -50,3 +50,12 @@ spec:
for: 15m
labels:
severity: critical
- name: scheduler-legacy-policy-deprecated
rules:
- alert: SchedulerLegacyPolicySet
annotations:
message: The scheduler is currently configured to use a legacy scheduler policy API. Use of the policy API is deprecated and removed in 4.10.
expr: |
cluster_legacy_scheduler_policy > 0
labels:
severity: warning

0 comments on commit 4084fa5

Please sign in to comment.