Skip to content

Commit

Permalink
[prometheus-node-exporter] Support hostIPC setting (#4772)
Browse files Browse the repository at this point in the history
* support host ipc

Signed-off-by: dongjiang1989 <[email protected]>

* update version

Signed-off-by: dongjiang1989 <[email protected]>

---------

Signed-off-by: dongjiang1989 <[email protected]>
Co-authored-by: MH <[email protected]>
  • Loading branch information
dongjiang1989 and zanhsieh authored Aug 8, 2024
1 parent ec710d2 commit 19af482
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- prometheus
- exporter
type: application
version: 4.37.2
version: 4.37.3
appVersion: 1.8.2
home: https://github.com/prometheus/node_exporter/
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/prometheus-node-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ spec:
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
hostPID: {{ .Values.hostPID }}
hostIPC: {{ .Values.hostIPC }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-node-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@ hostNetwork: true
# Share the host process ID namespace
hostPID: true

# Share the host ipc namespace
hostIPC: false

# Mount the node's root file system (/) at /host/root in the container
hostRootFsMount:
enabled: true
Expand Down

0 comments on commit 19af482

Please sign in to comment.