Skip to content
Snippets Groups Projects
Commit 15537834 authored by Sergiusz Urbaniak's avatar Sergiusz Urbaniak
Browse files

kube-prometheus: generate manifests

parent 893108e4
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ spec:
- --web.listen-address=127.0.0.1:9101
- --path.procfs=/host/proc
- --path.sysfs=/host/sys
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/)
- --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$
image: quay.io/prometheus/node-exporter:v0.15.2
name: node-exporter
resources:
......@@ -35,6 +37,10 @@ spec:
- mountPath: /host/sys
name: sys
readOnly: false
- mountPath: /host/root
mountPropagation: HostToContainer
name: root
readOnly: true
- args:
- --secure-listen-address=:9100
- --upstream=http://127.0.0.1:9101/
......@@ -69,3 +75,6 @@ spec:
- hostPath:
path: /sys
name: sys
- hostPath:
path: /root
name: root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment