add option to configure hostNetwork/hostPID for node-exporter pods (#7643)

Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>

update Chart version

Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>

Resolve conflicts

Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>

update prometheus chart to 7.1.3

Signed-off-by: Ludovic Cavajani <lcavajani@suse.com>
This commit is contained in:
lcavajani
2018-09-24 04:27:53 -07:00
committed by k8s-ci-robot
parent 48bdeba52f
commit 7809ce0e87
4 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 7.1.2
version: 7.1.3
appVersion: 2.4.2
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
+2
View File
@@ -173,6 +173,8 @@ Parameter | Description | Default
`nodeExporter.extraArgs` | Additional node-exporter container arguments | `{}`
`nodeExporter.extraHostPathMounts` | Additional node-exporter hostPath mounts | `[]`
`nodeExporter.extraConfigmapMounts` | Additional node-exporter configMap mounts | `[]`
`nodeExporter.hostNetwork` | If true, node-exporter pods share the host network namespace | `true`
`nodeExporter.hostPID` | If true, node-exporter pods share the host PID namespace | `true`
`nodeExporter.nodeSelector` | node labels for node-exporter pod assignment | `{}`
`nodeExporter.podAnnotations` | annotations to be added to node-exporter pods | `{}`
`nodeExporter.pod.labels` | labels to be added to node-exporter pods | `{}`
@@ -73,8 +73,12 @@ spec:
mountPath: {{ .mountPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.nodeExporter.hostNetwork }}
hostNetwork: true
{{- end }}
{{- if .Values.nodeExporter.hostPID }}
hostPID: true
{{- end }}
{{- if .Values.nodeExporter.tolerations }}
tolerations:
{{ toYaml .Values.nodeExporter.tolerations | indent 8 }}
+8
View File
@@ -347,6 +347,14 @@ nodeExporter:
##
enabled: true
## If true, node-exporter pods share the host network namespace
##
hostNetwork: true
## If true, node-exporter pods share the host PID namespace
##
hostPID: true
## node-exporter container name
##
name: node-exporter