File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : prometheus
3
- version : 13.4.0
3
+ version : 13.4.1
4
4
appVersion : 2.24.0
5
5
description : Prometheus is a monitoring system and time series database.
6
6
home : https://prometheus.io/
Original file line number Diff line number Diff line change 45
45
args :
46
46
- --path.procfs=/host/proc
47
47
- --path.sysfs=/host/sys
48
+ {{- if .Values.nodeExporter.hostRootfs }}
48
49
- --path.rootfs=/host/root
50
+ {{- end }}
49
51
{{- if .Values.nodeExporter.hostNetwork }}
50
52
- --web.listen-address=:{{ .Values.nodeExporter.service.hostPort }}
51
53
{{- end }}
@@ -73,10 +75,12 @@ spec:
73
75
- name : sys
74
76
mountPath : /host/sys
75
77
readOnly : true
78
+ {{- if .Values.nodeExporter.hostRootfs }}
76
79
- name : root
77
80
mountPath : /host/root
78
81
mountPropagation : HostToContainer
79
82
readOnly : true
83
+ {{- end }}
80
84
{{- range .Values.nodeExporter.extraHostPathMounts }}
81
85
- name : {{ .name }}
82
86
mountPath : {{ .mountPath }}
@@ -123,9 +127,11 @@ spec:
123
127
- name : sys
124
128
hostPath :
125
129
path : /sys
130
+ {{- if .Values.nodeExporter.hostRootfs }}
126
131
- name : root
127
132
hostPath :
128
133
path : /
134
+ {{- end }}
129
135
{{- range .Values.nodeExporter.extraHostPathMounts }}
130
136
- name : {{ .name }}
131
137
hostPath :
Original file line number Diff line number Diff line change @@ -442,6 +442,10 @@ nodeExporter:
442
442
# #
443
443
hostPID : true
444
444
445
+ # # If true, node-exporter pods mounts host / at /host/root
446
+ # #
447
+ hostRootfs : true
448
+
445
449
# # node-exporter container name
446
450
# #
447
451
name : node-exporter
You can’t perform that action at this time.
0 commit comments