--- apiVersion: apps/v1 kind: DaemonSet metadata: labels: app.kubernetes.io/component: metrics app.kubernetes.io/instance: nodeexporter app.kubernetes.io/name: prometheus-node-exporter app.kubernetes.io/part-of: prometheus-node-exporter app.kubernetes.io/version: 1.9.0 name: nodeexporter-prometheus-node-exporter namespace: otel-lgtm-stack spec: revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/instance: nodeexporter app.kubernetes.io/name: prometheus-node-exporter template: metadata: annotations: cluster-autoscaler.kubernetes.io/safe-to-evict: "true" labels: app.kubernetes.io/component: metrics app.kubernetes.io/instance: nodeexporter app.kubernetes.io/name: prometheus-node-exporter app.kubernetes.io/part-of: prometheus-node-exporter app.kubernetes.io/version: 1.9.0 spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: eks.amazonaws.com/compute-type operator: NotIn values: - fargate - key: type operator: NotIn values: - virtual-kubelet automountServiceAccountToken: false containers: - args: - --path.procfs=/host/proc - --path.sysfs=/host/sys - --path.rootfs=/host/root - --path.udev.data=/host/root/run/udev/data - --web.listen-address=[$(HOST_IP)]:9101 env: - name: HOST_IP value: 0.0.0.0 image: quay.io/prometheus/node-exporter:v1.9.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 httpGet: httpHeaders: null path: / port: 9101 scheme: HTTP initialDelaySeconds: 0 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 name: node-exporter ports: - containerPort: 9101 name: metrics protocol: TCP readinessProbe: failureThreshold: 3 httpGet: httpHeaders: null path: / port: 9101 scheme: HTTP initialDelaySeconds: 0 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 securityContext: readOnlyRootFilesystem: true volumeMounts: - mountPath: /host/proc name: proc readOnly: true - mountPath: /host/sys name: sys readOnly: true - mountPath: /host/root mountPropagation: HostToContainer name: root readOnly: true hostIPC: false hostNetwork: true hostPID: true nodeSelector: kubernetes.io/os: linux securityContext: fsGroup: 65534 runAsGroup: 65534 runAsNonRoot: true runAsUser: 65534 serviceAccountName: nodeexporter-prometheus-node-exporter tolerations: - effect: NoSchedule operator: Exists volumes: - hostPath: path: /proc name: proc - hostPath: path: /sys name: sys - hostPath: path: / name: root updateStrategy: rollingUpdate: maxUnavailable: 1 type: RollingUpdate