Skip to content

Commit

Permalink
[bot] [main] Automated version update (#2526)
Browse files Browse the repository at this point in the history
Co-authored-by: Prometheus Operator Bot <prom-op-bot@users.noreply.github.com>
  • Loading branch information
prom-op-bot and prom-op-bot authored Sep 23, 2024
1 parent 0cd78a9 commit 23db41c
Show file tree
Hide file tree
Showing 22 changed files with 135 additions and 77 deletions.
2 changes: 1 addition & 1 deletion jsonnet/kube-prometheus/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"nodeExporter": "1.8.2",
"prometheus": "2.54.1",
"prometheusAdapter": "0.12.0",
"prometheusOperator": "0.76.2",
"prometheusOperator": "0.77.0",
"kubeRbacProxy": "0.18.1",
"configmapReload": "0.13.1",
"pyrra": "0.6.4"
Expand Down
24 changes: 12 additions & 12 deletions jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"subdir": "contrib/mixin"
}
},
"version": "6c1fe4a92a00854fc54828e257708f9e7f5b4f28",
"version": "bd93a0060ab4d177e28e03c8765cb904adc0fae2",
"sum": "IXI3LQIT9NmTPJAk8WLUJd5+qZfcGpeNCyWIK7oEpws="
},
{
Expand Down Expand Up @@ -88,7 +88,7 @@
"subdir": "grafana-builder"
}
},
"version": "c0b39ad68a99c7791a19b14da92c7f886d8c55da",
"version": "4ad199dab450b829274234b1014ca577649b4557",
"sum": "yxqWcq/N3E/a/XreeU6EuE6X7kYPnG0AspAQFKOjASo="
},
{
Expand All @@ -98,7 +98,7 @@
"subdir": "mixin-utils"
}
},
"version": "c0b39ad68a99c7791a19b14da92c7f886d8c55da",
"version": "4ad199dab450b829274234b1014ca577649b4557",
"sum": "LoYq5QxJmUXEtqkEG8CFUBLBhhzDDaNANHc7Gz36ZdM="
},
{
Expand Down Expand Up @@ -128,8 +128,8 @@
"subdir": ""
}
},
"version": "50150c585ebee6e4d9cb72218182da8f3c616515",
"sum": "0g1pn3gGq2yZyeUTx+zniK/D7jMKbAnqJ83Lke+uJ6o="
"version": "3cb7958a56688386e8f6cb0f1258bdb1234797d6",
"sum": "f+GOrDpxTRmyYkaZKy6CCwqGoCs9MMCmEGT1cTJ0m6k="
},
{
"source": {
Expand Down Expand Up @@ -158,7 +158,7 @@
"subdir": "jsonnet/mixin"
}
},
"version": "1f36a6778f8e4b08799c43f3e2f9ba624feac416",
"version": "23cbc111619cbe089a04ae81463584e88a183af9",
"sum": "gi+knjdxs2T715iIQIntrimbHRgHnpM8IFBJDD1gYfs=",
"name": "prometheus-operator-mixin"
},
Expand All @@ -169,8 +169,8 @@
"subdir": "jsonnet/prometheus-operator"
}
},
"version": "1f36a6778f8e4b08799c43f3e2f9ba624feac416",
"sum": "IYa+0bUT25fTKjjDyZw9gV8DAi1BgfmLE1ucouoxKCs="
"version": "23cbc111619cbe089a04ae81463584e88a183af9",
"sum": "/bnXn93GATeKKUfv5o3BoURZ/f/uOx6IqPqiUjSM4Z4="
},
{
"source": {
Expand All @@ -179,7 +179,7 @@
"subdir": "doc/alertmanager-mixin"
}
},
"version": "e9904f93a7efa063bac628ed0b74184acf1c7401",
"version": "e1492602209b86e0ca6d7671c7353b62a31b897b",
"sum": "IpF46ZXsm+0wJJAPtAre8+yxTNZA57mBqGpBP/r7/kw=",
"name": "alertmanager"
},
Expand All @@ -190,7 +190,7 @@
"subdir": "docs/node-mixin"
}
},
"version": "7a97429e57d8aba827755a5cc4b5a84cec775d2c",
"version": "a37174eccfa67882184acc7f44e338aa5f5163b8",
"sum": "rhUvbqviGjQ2mwsRhHKMN0TiS3YvnYpUXHew3XlQ+Wg="
},
{
Expand All @@ -200,7 +200,7 @@
"subdir": "documentation/prometheus-mixin"
}
},
"version": "62bd893b803393388dbfeb08e3cc8904b97f54b9",
"version": "919648cafc2c07ed5c1d5dd657b8080bee331aaf",
"sum": "dYLcLzGH4yF3qB7OGC/7z4nqeTNjv42L7Q3BENU8XJI=",
"name": "prometheus"
},
Expand All @@ -222,7 +222,7 @@
"subdir": "mixin"
}
},
"version": "883fade9bd75fe595b6e947a33c59e27fca1abda",
"version": "a2113fd81cba3926f5f9fcf807e24920e6e81fe3",
"sum": "ieCD4eMgGbOlrI8GmckGPHBGQDcLasE1rULYq56W/bs=",
"name": "thanos-mixin"
},
Expand Down
8 changes: 4 additions & 4 deletions manifests/grafana-dashboardDefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10424,15 +10424,15 @@ items:
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.cpu|cpu\"})",
"legendFormat": "quota - requests"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.cpu\"})",
"legendFormat": "quota - limits"
}
],
Expand Down Expand Up @@ -10719,15 +10719,15 @@ items:
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"requests.memory|memory\"})",
"legendFormat": "quota - requests"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})",
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=~\"limits.memory\"})",
"legendFormat": "quota - limits"
}
],
Expand Down
30 changes: 15 additions & 15 deletions manifests/kubernetesControlPlane-prometheusRule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
summary: The API server is burning too much error budget.
expr: |
sum(apiserver_request:burnrate1h) > (14.40 * 0.01000)
and
sum(apiserver_request:burnrate5m) > (14.40 * 0.01000)
sum by(cluster) (apiserver_request:burnrate1h) > (14.40 * 0.01000)
and on(cluster)
sum by(cluster) (apiserver_request:burnrate5m) > (14.40 * 0.01000)
for: 2m
labels:
long: 1h
Expand All @@ -501,9 +501,9 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
summary: The API server is burning too much error budget.
expr: |
sum(apiserver_request:burnrate6h) > (6.00 * 0.01000)
and
sum(apiserver_request:burnrate30m) > (6.00 * 0.01000)
sum by(cluster) (apiserver_request:burnrate6h) > (6.00 * 0.01000)
and on(cluster)
sum by(cluster) (apiserver_request:burnrate30m) > (6.00 * 0.01000)
for: 15m
labels:
long: 6h
Expand All @@ -515,9 +515,9 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
summary: The API server is burning too much error budget.
expr: |
sum(apiserver_request:burnrate1d) > (3.00 * 0.01000)
and
sum(apiserver_request:burnrate2h) > (3.00 * 0.01000)
sum by(cluster) (apiserver_request:burnrate1d) > (3.00 * 0.01000)
and on(cluster)
sum by(cluster) (apiserver_request:burnrate2h) > (3.00 * 0.01000)
for: 1h
labels:
long: 1d
Expand All @@ -529,9 +529,9 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapierrorbudgetburn
summary: The API server is burning too much error budget.
expr: |
sum(apiserver_request:burnrate3d) > (1.00 * 0.01000)
and
sum(apiserver_request:burnrate6h) > (1.00 * 0.01000)
sum by(cluster) (apiserver_request:burnrate3d) > (1.00 * 0.01000)
and on(cluster)
sum by(cluster) (apiserver_request:burnrate6h) > (1.00 * 0.01000)
for: 3h
labels:
long: 3d
Expand All @@ -545,7 +545,7 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeclientcertificateexpiration
summary: Client certificate is about to expire.
expr: |
apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 604800
apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(cluster, job) histogram_quantile(0.01, sum by (cluster, job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 604800
for: 5m
labels:
severity: warning
Expand All @@ -555,7 +555,7 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeclientcertificateexpiration
summary: Client certificate is about to expire.
expr: |
apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(job) histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 86400
apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and on(cluster, job) histogram_quantile(0.01, sum by (cluster, job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 86400
for: 5m
labels:
severity: critical
Expand Down Expand Up @@ -594,7 +594,7 @@ spec:
runbook_url: https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubeapiterminatedrequests
summary: The kubernetes apiserver has terminated {{ $value | humanizePercentage }} of its incoming requests.
expr: |
sum(rate(apiserver_request_terminations_total{job="apiserver"}[10m])) / ( sum(rate(apiserver_request_total{job="apiserver"}[10m])) + sum(rate(apiserver_request_terminations_total{job="apiserver"}[10m])) ) > 0.20
sum by(cluster) (rate(apiserver_request_terminations_total{job="apiserver"}[10m])) / ( sum by(cluster) (rate(apiserver_request_total{job="apiserver"}[10m])) + sum by(cluster) (rate(apiserver_request_terminations_total{job="apiserver"}[10m])) ) > 0.20
for: 5m
labels:
severity: warning
Expand Down
12 changes: 10 additions & 2 deletions manifests/prometheusOperator-clusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
rules:
- apiGroups:
Expand Down Expand Up @@ -56,7 +56,6 @@ rules:
resources:
- services
- services/finalizers
- endpoints
verbs:
- get
- create
Expand Down Expand Up @@ -98,6 +97,15 @@ rules:
- storageclasses
verbs:
- get
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
- create
- update
- delete
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
2 changes: 1 addition & 1 deletion manifests/prometheusOperator-clusterRoleBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
10 changes: 6 additions & 4 deletions manifests/prometheusOperator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: monitoring
spec:
Expand All @@ -23,17 +23,19 @@ spec:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
spec:
automountServiceAccountToken: true
containers:
- args:
- --kubelet-service=kube-system/kubelet
- --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.76.2
- --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.77.0
- --kubelet-endpoints=true
- --kubelet-endpointslice=false
env:
- name: GOGC
value: "30"
image: quay.io/prometheus-operator/prometheus-operator:v0.76.2
image: quay.io/prometheus-operator/prometheus-operator:v0.77.0
name: prometheus-operator
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion manifests/prometheusOperator-networkPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: monitoring
spec:
Expand Down
2 changes: 1 addition & 1 deletion manifests/prometheusOperator-prometheusRule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
prometheus: k8s
role: alert-rules
name: prometheus-operator-rules
Expand Down
2 changes: 1 addition & 1 deletion manifests/prometheusOperator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: monitoring
spec:
Expand Down
2 changes: 1 addition & 1 deletion manifests/prometheusOperator-serviceAccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: monitoring
4 changes: 2 additions & 2 deletions manifests/prometheusOperator-serviceMonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
name: prometheus-operator
namespace: monitoring
spec:
Expand All @@ -21,4 +21,4 @@ spec:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.76.2
app.kubernetes.io/version: 0.77.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
operator.prometheus.io/version: 0.76.2
controller-gen.kubebuilder.io/version: v0.16.3
operator.prometheus.io/version: 0.77.0
name: alertmanagerconfigs.monitoring.coreos.com
spec:
group: monitoring.coreos.com
Expand Down
Loading

0 comments on commit 23db41c

Please sign in to comment.