Skip to content

Commit

Permalink
[bot] Update jsonnet dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jun 6, 2022
1 parent fe80afa commit e6edca0
Show file tree
Hide file tree
Showing 10 changed files with 530 additions and 47 deletions.
1 change: 0 additions & 1 deletion assets/admission-webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ metadata:
name: prometheus-operator-admission-webhook
namespace: openshift-monitoring
spec:
clusterIP: None
ports:
- name: https
port: 8443
Expand Down
16 changes: 8 additions & 8 deletions assets/control-plane/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ spec:
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/KubePodNotReady.md
summary: Pod has been in a non-ready state for more than 15 minutes.
expr: |
sum by (namespace, pod) (
max by(namespace, pod) (
sum by (namespace, pod, cluster) (
max by(namespace, pod, cluster) (
kube_pod_status_phase{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics", phase=~"Pending|Unknown"}
) * on(namespace, pod) group_left(owner_kind) topk by(namespace, pod) (
1, max by(namespace, pod, owner_kind) (kube_pod_owner{owner_kind!="Job"})
) * on(namespace, pod, cluster) group_left(owner_kind) topk by(namespace, pod, cluster) (
1, max by(namespace, pod, owner_kind, cluster) (kube_pod_owner{owner_kind!="Job"})
)
) > 0
for: 15m
Expand Down Expand Up @@ -148,7 +148,7 @@ spec:
1 hour.
summary: Pod container waiting longer than 1 hour
expr: |
sum by (namespace, pod, container) (kube_pod_container_status_waiting_reason{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics"}) > 0
sum by (namespace, pod, container, cluster) (kube_pod_container_status_waiting_reason{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics"}) > 0
for: 1h
labels:
severity: warning
Expand Down Expand Up @@ -180,7 +180,7 @@ spec:
more than {{ "43200" | humanizeDuration }} to complete.
summary: Job did not complete in time
expr: |
time() - max by(namespace, job_name) (kube_job_status_start_time{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics"}
time() - max by(namespace, job_name, cluster) (kube_job_status_start_time{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics"}
and
kube_job_status_active{namespace=~"(openshift-.*|kube-.*|default)",job="kube-state-metrics"} > 0) > 43200
labels:
Expand Down Expand Up @@ -451,7 +451,7 @@ spec:
}} times averaged over the past 10m.
summary: Kubernetes aggregated API has reported errors.
expr: |
sum by(name, namespace)(increase(aggregator_unavailable_apiservice_total[10m])) > 4
sum by(name, namespace, cluster)(increase(aggregator_unavailable_apiservice_total[10m])) > 4
labels:
severity: warning
- alert: KubeAggregatedAPIDown
Expand All @@ -460,7 +460,7 @@ spec:
}} has been only {{ $value | humanize }}% available over the last 10m.
summary: Kubernetes aggregated API is down.
expr: |
(1 - max by(name, namespace)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 85
(1 - max by(name, namespace, cluster)(avg_over_time(aggregator_unavailable_apiservice[10m]))) * 100 < 85
for: 5m
labels:
severity: warning
Expand Down
8 changes: 4 additions & 4 deletions assets/node-exporter/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ spec:
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
has only {{ printf "%.2f" $value }}% available space left.
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/NodeFilesystemAlmostOutOfSpace.md
summary: Filesystem has less than 5% space left.
summary: Filesystem has less than 3% space left.
expr: |
(
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 5
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 3
and
node_filesystem_readonly{job="node-exporter",fstype!=""} == 0
)
Expand All @@ -70,10 +70,10 @@ spec:
description: Filesystem on {{ $labels.device }} at {{ $labels.instance }}
has only {{ printf "%.2f" $value }}% available space left.
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/NodeFilesystemAlmostOutOfSpace.md
summary: Filesystem has less than 3% space left.
summary: Filesystem has less than 5% space left.
expr: |
(
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 3
node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 5
and
node_filesystem_readonly{job="node-exporter",fstype!=""} == 0
)
Expand Down
2 changes: 1 addition & 1 deletion assets/prometheus-operator/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
ready to reconcile {{ $labels.controller }} resources.
summary: Prometheus operator not ready
expr: |
min by(namespace, controller) (max_over_time(prometheus_operator_ready{job="prometheus-operator", namespace=~"openshift-monitoring|openshift-user-workload-monitoring"}[5m]) == 0)
min by (controller,namespace) (max_over_time(prometheus_operator_ready{job="prometheus-operator", namespace=~"openshift-monitoring|openshift-user-workload-monitoring"}[5m]) == 0)
for: 5m
labels:
severity: warning
Expand Down
66 changes: 33 additions & 33 deletions jsonnet/jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"subdir": "contrib/mixin"
}
},
"version": "81491914fbfbfcc041e175beb20f2cf3f575557e",
"version": "08f4c340eb92338d0f266795222d9ea04cb69056",
"sum": "zhLYhUNcXNkMRfJhMUX0UiOpi8TOuLmUqJfO9NFKFkg="
},
{
Expand All @@ -41,15 +41,25 @@
"version": "6db00c292d3a1c71661fc875f90e0ec7caa538c2",
"sum": "gF8foHByYcB25jcUOBqP6jxk0OPifQMjPvKY0HaCk6w="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/grafonnet-lib.git",
"subdir": "grafonnet-7.0"
}
},
"version": "6db00c292d3a1c71661fc875f90e0ec7caa538c2",
"sum": "gCtR9s/4D5fxU9aKXg0Bru+/njZhA0YjLjPiASc61FM="
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "grafana-builder"
}
},
"version": "28e90490f768aaf14d5bcb15ed2f6ab4e3efe725",
"sum": "0KkygBQd/AFzUvVzezE4qF/uDYgrwUXVpZfINBti0oc="
"version": "d58c14b16e5126f03de5a5bf188f690e38893dd0",
"sum": "TieGrr7GyKjURk1+wXHFpdoCiwNaIVfZvyc5mbI9OM0="
},
{
"source": {
Expand All @@ -69,18 +79,8 @@
"subdir": ""
}
},
"version": "62ad10fe9ceb53c6b846871997abbfe8e0bd7cf5",
"sum": "6gD9F29f8T2a71n35Y61P7TBiF5NQuhk4JUwEafsA1E="
},
{
"source": {
"git": {
"remote": "https://github.com/kubernetes-monitoring/kubernetes-mixin.git",
"subdir": "lib/promgrafonnet"
}
},
"version": "62ad10fe9ceb53c6b846871997abbfe8e0bd7cf5",
"sum": "zv7hXGui6BfHzE9wPatHI/AGZa4A2WKo6pq7ZdqBsps="
"version": "3422a511bf8f645e3e684632785b27864ee5dc0c",
"sum": "tpgokDM1s/6CL4p+tlq3Nu54r62/kPfGnLUKRgYIC4k="
},
{
"source": {
Expand All @@ -89,7 +89,7 @@
"subdir": "jsonnet/kube-state-metrics"
}
},
"version": "b43b8cd57b7e71e7e5c151f6b7753ce5fdd04905",
"version": "7f09ca71ba25af4d2cbb1637e13b28c1d0028159",
"sum": "P0dCnbzyPScQGNXwXRcwiPkMLeTq0IPNbSTysDbySnM="
},
{
Expand All @@ -99,7 +99,7 @@
"subdir": "jsonnet/kube-state-metrics-mixin"
}
},
"version": "b43b8cd57b7e71e7e5c151f6b7753ce5fdd04905",
"version": "7f09ca71ba25af4d2cbb1637e13b28c1d0028159",
"sum": "u8gaydJoxEjzizQ8jY8xSjYgWooPmxw+wIWdDxifMAk="
},
{
Expand All @@ -120,8 +120,8 @@
"subdir": "jsonnet/telemeter"
}
},
"version": "987128a17c198270ff22cf36ff7b7df396f51826",
"sum": "vsJuJBdzAERSX8hvz0NRP6Lj13kGRztw/Wm8jFpwHAQ=",
"version": "76493ca3d439dc9d1ab5476a25d36c83d1947289",
"sum": "qaSPKpik0WiU5BMtW0Q51+NvEcWhdVE2XLqwZDyvJ+c=",
"name": "telemeter-client"
},
{
Expand All @@ -131,8 +131,8 @@
"subdir": "jsonnet/kube-prometheus"
}
},
"version": "bbdb94a23e97edbab113f8cb788071cf6a541e6d",
"sum": "350sbhl/YOwB1oQYF3KLHapsqsVN93iIb8TnOn3wzsI="
"version": "fbbfff8f377207d06aca4d84630acd6270c23b54",
"sum": "jOEfQk/4pIkazP6qSZFfrHU/m4kPtrbO4yVrU96j+YY="
},
{
"source": {
Expand All @@ -141,8 +141,8 @@
"subdir": "jsonnet/mixin"
}
},
"version": "b0628d00ee84230c24560736060e1ca45e7fc429",
"sum": "joc3gM74r0q658bmpfTbeAr0Nce4gTBv0rf3I+2J0rQ=",
"version": "c98a043df3e96c4e1445165539d4e895d6e0082b",
"sum": "GQmaVFJwKMiD/P4n3N2LrAZVcwutriWrP8joclDtBYQ=",
"name": "prometheus-operator-mixin"
},
{
Expand All @@ -152,8 +152,8 @@
"subdir": "jsonnet/prometheus-operator"
}
},
"version": "b0628d00ee84230c24560736060e1ca45e7fc429",
"sum": "mYU7yZz9AkpjVw+YrqebZOx+WON1jJZewVtVoUTXsx0="
"version": "c98a043df3e96c4e1445165539d4e895d6e0082b",
"sum": "pUggCYwO/3Y/p6Vgryx8Y4KO3QkJ+GqimrZtn/luzzI="
},
{
"source": {
Expand All @@ -162,8 +162,8 @@
"subdir": "doc/alertmanager-mixin"
}
},
"version": "71d61c9c9149420209c973014e0d6c981b183611",
"sum": "iqF63VWQovIGBb7JI5oVVgMShz0dKptSzEVQQjsy+Jo=",
"version": "f958b8be84b870e363f7dafcbeb807b463269a75",
"sum": "f3iZDUXQ/YWB5yDCY7VLD5bs442+3CdJgXJhJyWhNf8=",
"name": "alertmanager"
},
{
Expand All @@ -173,8 +173,8 @@
"subdir": "docs/node-mixin"
}
},
"version": "3d9ee5d9cc4545c7aaccc0f282f59478fe128ed1",
"sum": "fNanwWpnovE/ok6i7zlwd1mwOPbglp19edJdOLgTDnU="
"version": "3999866a3619e6b17905ae2a2c1e7cc8d4df18e2",
"sum": "+ZeoFzdjV7GKrrs0Bf6a+M+QDikd5QhcxTnFRObA0/w="
},
{
"source": {
Expand All @@ -183,7 +183,7 @@
"subdir": "documentation/prometheus-mixin"
}
},
"version": "4deb1a90d2f1300bb92938aa3c5949fffc7b7ce4",
"version": "143a760e769d482914cf9ac587750092a95b05ca",
"sum": "APXOIP3B3dZ3Tyh7L2UhyWR8Vbf5+9adTLz/ya7n6uU=",
"name": "prometheus"
},
Expand All @@ -194,7 +194,7 @@
"subdir": "config/crd/bases"
}
},
"version": "ac027a4a3dd7526a3afe80fc7e48cfec62436d81",
"version": "3a58b4ed4f649c9502b8dc3e6bfc5b4159e33b48",
"sum": "GQ0GFKGdIWKx1b78VRs6jtC4SMqkBjT5jl65QUjPKK4="
},
{
Expand All @@ -214,8 +214,8 @@
"subdir": "mixin"
}
},
"version": "81218afa5b01d44d20db8be599c88127e2cdf646",
"sum": "dBm9ML50quhu6dwTIgfNmVruMqfaUeQVCO/6EKtQLxE="
"version": "a6f6ce060ed4818d2c82967bfd7836588e084438",
"sum": "/UJrWExMDM89fPfidt1pNLSQOLXsyBpmyp3unRbjaXw="
}
],
"legacyImports": false
Expand Down
Loading

0 comments on commit e6edca0

Please sign in to comment.