Skip to content

Commit

Permalink
Merge pull request #854 from RiRa12621/master
Browse files Browse the repository at this point in the history
Bug 1846707: changing KubeQuotaExceeded to KubeQuotaFullyUsed
  • Loading branch information
openshift-merge-robot committed Jul 16, 2020
2 parents 061ba1c + 2578fbe commit 4a0a9c3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- [#800](https://github.com/openshift/cluster-monitoring-operator/pull/800) Collect metrics and implement alerting rules for Thanos querier.
- [#804](https://github.com/openshift/cluster-monitoring-operator/pull/804) Allow user workload monitoring configuration ConfigMap to be created in openshift-user-workload-monitoring namespace.
- [#736](https://github.com/openshift/cluster-monitoring-operator/pull/800) Expose /api/v1/rules endpoint of Thanos Querier via the 9093 TCP port with multi-tenancy support.
- [#854](https://github.com/openshift/cluster-monitoring-operator/pull/854) Change KubeQuotaExceeded to KubeQuotaFullyUsed
6 changes: 3 additions & 3 deletions assets/prometheus-k8s/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1343,17 +1343,17 @@ spec:
for: 5m
labels:
severity: warning
- alert: KubeQuotaExceeded
- alert: KubeQuotaFullyUsed
annotations:
message: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota.
expr: |
kube_resourcequota{namespace=~"(openshift-.*|kube-.*|default|logging)",job="kube-state-metrics", type="used"}
/ ignoring(instance, job, type)
(kube_resourcequota{namespace=~"(openshift-.*|kube-.*|default|logging)",job="kube-state-metrics", type="hard"} > 0)
> 0.90
>= 1
for: 15m
labels:
severity: warning
severity: info
- name: kubernetes-storage
rules:
- alert: KubePersistentVolumeFillingUp
Expand Down
4 changes: 2 additions & 2 deletions jsonnet/jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"subdir": ""
}
},
"version": "d353b060f1965cc8ec2dce00c6dd2d565cb1825f",
"sum": "CcrZ6OPgNp8WWXtGqRGOdPm6XbRSvSRb9Dwqbzxe+QE="
"version": "9992325a3429a8975caa95bf0ead13804f76fd47",
"sum": "0uaxB7PnxVk6e8pgc/HXaReiDAAPBmkQCjzIcMV/BcM="
},
{
"source": {
Expand Down
4 changes: 2 additions & 2 deletions pkg/manifests/bindata.go

Large diffs are not rendered by default.

0 comments on commit 4a0a9c3

Please sign in to comment.