kube-prometheus: generate manifests
Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
This commit is contained in:
@@ -19,6 +19,8 @@ spec:
|
|||||||
- --web.listen-address=127.0.0.1:9101
|
- --web.listen-address=127.0.0.1:9101
|
||||||
- --path.procfs=/host/proc
|
- --path.procfs=/host/proc
|
||||||
- --path.sysfs=/host/sys
|
- --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
|
image: quay.io/prometheus/node-exporter:v0.15.2
|
||||||
name: node-exporter
|
name: node-exporter
|
||||||
resources:
|
resources:
|
||||||
@@ -35,6 +37,10 @@ spec:
|
|||||||
- mountPath: /host/sys
|
- mountPath: /host/sys
|
||||||
name: sys
|
name: sys
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
- mountPath: /host/root
|
||||||
|
mountPropagation: HostToContainer
|
||||||
|
name: root
|
||||||
|
readOnly: true
|
||||||
- args:
|
- args:
|
||||||
- --secure-listen-address=:9100
|
- --secure-listen-address=:9100
|
||||||
- --upstream=http://127.0.0.1:9101/
|
- --upstream=http://127.0.0.1:9101/
|
||||||
@@ -69,3 +75,6 @@ spec:
|
|||||||
- hostPath:
|
- hostPath:
|
||||||
path: /sys
|
path: /sys
|
||||||
name: sys
|
name: sys
|
||||||
|
- hostPath:
|
||||||
|
path: /root
|
||||||
|
name: root
|
||||||
|
Reference in New Issue
Block a user