Skip to content

Commit 4ce16ea

Browse files
srodenhuisj-zimnowodaAni1357
authored
feat: upgrade kube-prometheus-stack (#1764)
Co-authored-by: jeho <[email protected]> Co-authored-by: Ani Argjiri <[email protected]>
1 parent e3886cc commit 4ce16ea

File tree

248 files changed

+51381
-16802
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+51381
-16802
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[files/dashboards/*.json]
4+
indent_size = 2
5+
indent_style = space
+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
# Python development for hack
22
venv
33
pyvenv.cfg
4+
!**
5+
charts/*
6+
!charts/crds/
7+
!charts/crds/**
8+
Chart.lock
9+
hack/*.git
10+
hack/tmp/
11+
hack/venv/
12+
hack/pyvenv.cfg

charts/kube-prometheus-stack/.helmignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ ci/
2626
kube-prometheus-*.tgz
2727

2828
unittests/
29+
files/dashboards/
+11-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
dependencies:
2+
- name: crds
3+
repository: ""
4+
version: 0.0.0
25
- name: kube-state-metrics
36
repository: https://prometheus-community.github.io/helm-charts
4-
version: 5.6.4
7+
version: 5.26.0
58
- name: prometheus-node-exporter
69
repository: https://prometheus-community.github.io/helm-charts
7-
version: 4.16.0
10+
version: 4.39.0
811
- name: grafana
912
repository: https://grafana.github.io/helm-charts
10-
version: 6.56.6
11-
digest: sha256:1536941208f949782278c15de52be433d529588c2c99e3e2f630442bcd568e3f
12-
generated: "2023-06-26T14:49:51.130328+02:00"
13-
13+
version: 8.5.5
14+
- name: prometheus-windows-exporter
15+
repository: https://prometheus-community.github.io/helm-charts
16+
version: 0.7.0
17+
digest: sha256:f4113006cd1c16fa72c34e2527d029bf158518162e6fcbdc44a30e788e3dd251
18+
generated: "2024-10-16T13:42:02.706796+02:00"

charts/kube-prometheus-stack/Chart.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ maintainers:
1111
1212
- name: GMartinez-Sisti
1313
14+
- name: jkroepke
15+
1416
- name: scottrigby
1517
1618
- name: Xtigyro
@@ -21,9 +23,9 @@ name: kube-prometheus-stack
2123
sources:
2224
- https://github.com/prometheus-community/helm-charts
2325
- https://github.com/prometheus-operator/kube-prometheus
24-
version: 46.4.1
25-
appVersion: v0.65.1
26-
kubeVersion: ">=1.16.0-0"
26+
version: 65.2.0
27+
appVersion: v0.77.1
28+
kubeVersion: ">=1.19.0-0"
2729
home: https://github.com/prometheus-operator/kube-prometheus
2830
keywords:
2931
- operator
@@ -40,14 +42,14 @@ annotations:
4042
4143
dependencies:
4244
- name: kube-state-metrics
43-
version: "5.6.*"
45+
version: "5.26.0"
4446
repository: https://prometheus-community.github.io/helm-charts
4547
condition: kubeStateMetrics.enabled
4648
- name: prometheus-node-exporter
47-
version: "4.16.*"
49+
version: "4.39.0"
4850
repository: https://prometheus-community.github.io/helm-charts
4951
condition: nodeExporter.enabled
5052
- name: grafana
51-
version: "6.56.*"
53+
version: "8.5.5"
5254
repository: https://grafana.github.io/helm-charts
5355
condition: grafana.enabled

charts/kube-prometheus-stack/README.md

+360-1
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
1+
apiVersion: v2
2+
name: grafana
3+
version: 8.5.5
4+
appVersion: 11.2.2
5+
kubeVersion: "^1.8.0-0"
6+
description: The leading tool for querying and visualizing time series and metrics.
7+
home: https://grafana.com
8+
icon: https://artifacthub.io/image/b4fed1a7-6c8f-4945-b99d-096efa3e4116
9+
sources:
10+
- https://github.com/grafana/grafana
11+
- https://github.com/grafana/helm-charts
112
annotations:
2-
artifacthub.io/links: |
13+
"artifacthub.io/license": Apache-2.0
14+
"artifacthub.io/links": |
315
- name: Chart Source
416
url: https://github.com/grafana/helm-charts
517
- name: Upstream Project
618
url: https://github.com/grafana/grafana
7-
apiVersion: v2
8-
appVersion: 9.5.2
9-
description: The leading tool for querying and visualizing time series and metrics.
10-
home: https://grafana.net
11-
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
12-
kubeVersion: ^1.8.0-0
1319
maintainers:
14-
15-
name: zanhsieh
16-
17-
name: rtluckie
18-
19-
name: maorfr
20-
21-
name: Xtigyro
22-
23-
name: torstenwalter
24-
name: grafana
25-
sources:
26-
- https://github.com/grafana/grafana
27-
- https://github.com/grafana/helm-charts
20+
- name: zanhsieh
21+
22+
- name: rtluckie
23+
24+
- name: maorfr
25+
26+
- name: Xtigyro
27+
28+
- name: torstenwalter
29+
30+
- name: jkroepke
31+
2832
type: application
29-
version: 6.56.6
33+
keywords:
34+
- monitoring
35+
- metric

charts/kube-prometheus-stack/charts/grafana/README.md

+122-24
Large diffs are not rendered by default.

charts/kube-prometheus-stack/charts/grafana/ci/with-image-renderer-values.yaml

+88
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,91 @@ imageRenderer:
1717
requests:
1818
cpu: 500m
1919
memory: 50Mi
20+
extraVolumes:
21+
- name: empty-renderer-volume
22+
emtpyDir: {}
23+
extraVolumeMounts:
24+
- mountPath: /tmp/renderer
25+
name: empty-renderer-volume
26+
extraConfigmapMounts:
27+
- name: renderer-config
28+
mountPath: /usr/src/app/config.json
29+
subPath: renderer-config.json
30+
configMap: image-renderer-config
31+
extraSecretMounts:
32+
- name: renderer-certificate
33+
mountPath: /usr/src/app/certs/
34+
secretName: image-renderer-certificate
35+
readOnly: true
36+
37+
extraObjects:
38+
- apiVersion: v1
39+
kind: ConfigMap
40+
metadata:
41+
name: image-renderer-config
42+
data:
43+
renderer-config.json: |
44+
{
45+
"service": {
46+
"host": null,
47+
"port": 8081,
48+
"protocol": "http",
49+
"certFile": "",
50+
"certKey": "",
51+
52+
"metrics": {
53+
"enabled": true,
54+
"collectDefaultMetrics": true,
55+
"requestDurationBuckets": [1, 5, 7, 9, 11, 13, 15, 20, 30]
56+
},
57+
58+
"logging": {
59+
"level": "info",
60+
"console": {
61+
"json": true,
62+
"colorize": false
63+
}
64+
},
65+
66+
"security": {
67+
"authToken": "-"
68+
}
69+
},
70+
"rendering": {
71+
"chromeBin": null,
72+
"args": ["--no-sandbox", "--disable-gpu"],
73+
"ignoresHttpsErrors": false,
74+
75+
"timezone": null,
76+
"acceptLanguage": null,
77+
"width": 1000,
78+
"height": 500,
79+
"deviceScaleFactor": 1,
80+
"maxWidth": 3080,
81+
"maxHeight": 3000,
82+
"maxDeviceScaleFactor": 4,
83+
"pageZoomLevel": 1,
84+
"headed": false,
85+
86+
"mode": "default",
87+
"emulateNetworkConditions": false,
88+
"clustering": {
89+
"monitor": false,
90+
"mode": "browser",
91+
"maxConcurrency": 5,
92+
"timeout": 30
93+
},
94+
95+
"verboseLogging": false,
96+
"dumpio": false,
97+
"timingMetrics": false
98+
}
99+
}
100+
- apiVersion: v1
101+
kind: Secret
102+
metadata:
103+
name: image-renderer-certificate
104+
type: Opaque
105+
data:
106+
# Decodes to 'PLACEHOLDER CERTIFICATE'
107+
not-a-real-certificate: UExBQ0VIT0xERVIgQ0VSVElGSUNBVEU=

charts/kube-prometheus-stack/charts/grafana/templates/NOTES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
3. Login with the password from step 1 and the username: {{ .Values.adminUser }}
4949

50-
{{- if not .Values.persistence.enabled }}
50+
{{- if and (not .Values.persistence.enabled) (not .Values.persistence.disableWarning) }}
5151
#################################################################################
5252
###### WARNING: Persistence is disabled!!! You will lose your data when #####
5353
###### the Grafana pod is terminated. #####

0 commit comments

Comments
 (0)