12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- ---
- # Source: loki-stack/charts/prometheus/templates/node-exporter-daemonset.yaml
- apiVersion: apps/v1
- kind: DaemonSet
- metadata:
- labels:
- component: "node-exporter"
- app: prometheus
- release: loki
- chart: prometheus-9.3.1
- heritage: Tiller
- name: loki-prometheus-node-exporter
- spec:
- selector:
- matchLabels:
- component: "node-exporter"
- app: prometheus
- release: loki
- updateStrategy:
- type: RollingUpdate
-
- template:
- metadata:
- labels:
- component: "node-exporter"
- app: prometheus
- release: loki
- chart: prometheus-9.3.1
- heritage: Tiller
- spec:
- serviceAccountName: loki-prometheus-node-exporter
- containers:
- - name: prometheus-node-exporter
- image: "prom/node-exporter:v0.18.0"
- imagePullPolicy: "IfNotPresent"
- args:
- - --path.procfs=/host/proc
- - --path.sysfs=/host/sys
- ports:
- - name: metrics
- containerPort: 9100
- hostPort: 9100
- resources:
- {}
-
- volumeMounts:
- - name: proc
- mountPath: /host/proc
- readOnly: true
- - name: sys
- mountPath: /host/sys
- readOnly: true
- hostNetwork: true
- hostPID: true
- volumes:
- - name: proc
- hostPath:
- path: /proc
- - name: sys
- hostPath:
- path: /sys
|