Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove entirely deprecated alerts
  • Loading branch information
cblecker authored and soltysh committed Feb 14, 2020
1 parent cd3dade commit f7691a8
Showing 1 changed file with 0 additions and 33 deletions.
Expand Up @@ -68,36 +68,3 @@ spec:
matchLabels:
component: apiserver
provider: kubernetes
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: kube-apiserver
namespace: openshift-kube-apiserver
annotations:
exclude.release.openshift.io/internal-openshift-hosted: "true"
spec:
groups:
- name: using-deprecated-apis
rules:
- alert: UsingDeprecatedAPIAppsV1Beta1
annotations:
message: A client in the cluster is using deprecated apps/v1beta1 API that will be removed soon.
expr: |
apiserver_request_count{group="apps",version="v1beta1"}
labels:
severity: warning
- alert: UsingDeprecatedAPIAppsV1Beta2
annotations:
message: A client in the cluster is using deprecated apps/v1beta2 API that will be removed soon.
expr: |
apiserver_request_count{group="apps",version="v1beta2"}
labels:
severity: warning
- alert: UsingDeprecatedAPIExtensionsV1Beta1
annotations:
message: A client in the cluster is using deprecated extensions/v1beta1 API that will be removed soon.
expr: |
apiserver_request_count{group="extensions",version="v1beta1",resource!~"ingresses|",client!~"hyperkube/.*|cluster-policy-controller/.*"}
labels:
severity: warning

0 comments on commit f7691a8

Please sign in to comment.