Skip to content

Commit 3a73b6c

Browse files
authored
fix(prometheus): show container name with all vpa alerts (#9727)
1 parent 1fdc973 commit 3a73b6c

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

common/prometheus-server/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
## 8.0.7
1+
## 8.0.9
2+
3+
* VPA container name was not always shown
4+
5+
## 8.0.8
26

37
* Upgrade Prometheus to v3.6.0
48
* add default priorityClass for better scheduling

common/prometheus-server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: Prometheus via operator.
33
name: prometheus-server
4-
version: 8.0.8
4+
version: 8.0.9
55
appVersion: v3.6.0
66
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
77
maintainers:

common/prometheus-server/templates/alerts/_prometheus-thanos-rule.alerts.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ groups:
4747
meta: Prometheus VPA for `{{`{{ $labels.verticalpodautoscaler }}`}}` in `{{`{{ $labels.namespace }}`}}` is recommending more memory.
4848
annotations:
4949
description: |
50-
`{{`{{ $labels.verticalpodautoscaler }}`}}` in `{{`{{ $labels.cluster }}/{{ $labels.namespace }}`}}` needs more `{{`{{ $labels.resource }}`}}`. It is overutilized by `{{`{{ $value }}`}}` GiB.
50+
`{{`{{ $labels.verticalpodautoscaler }}`}}` container `{{`{{ $labels.container }}`}}` in `{{`{{ $labels.cluster }}/{{ $labels.namespace }}`}}` needs more `{{`{{ $labels.resource }}`}}`. It is overutilized by `{{`{{ $value }}`}}` GiB.
5151
It is hitting the VPA maxAllowed boundary and is not ensured to run properly at its current place. Consider upgrading the VPA maxAllowed
5252
memory value if the host memory size permits.
5353
summary: Prometheus needs more memory.
@@ -63,7 +63,7 @@ groups:
6363
meta: Prometheus VPA for `{{`{{ $labels.verticalpodautoscaler }}`}}` in `{{`{{ $labels.namespace }}`}}` is recommending more CPUs.
6464
annotations:
6565
description: |
66-
`{{`{{ $labels.verticalpodautoscaler }}`}}` in `{{`{{ $labels.cluster }}/{{ $labels.namespace }}`}}` needs more `{{`{{ $labels.resource }}`}}`. It is overutilized by `{{`{{ $value }}`}}` cores.
66+
`{{`{{ $labels.verticalpodautoscaler }}`}}` container `{{`{{ $labels.container }}`}}` in `{{`{{ $labels.cluster }}/{{ $labels.namespace }}`}}` needs more `{{`{{ $labels.resource }}`}}`. It is overutilized by `{{`{{ $value }}`}}` cores.
6767
It is hitting the VPA maxAllowed boundary and is not ensured to run properly at its current place. Consider upgrading the VPA maxAllowed
6868
CPU core value if the host has enough CPU cores.
6969
summary: Prometheus needs more CPU.

0 commit comments

Comments
 (0)