k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/exporters/node_exporter/node-exporter.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    name: node-exporter
     5    namespace: kube-system
     6    labels:
     7      k8s-app: node-exporter
     8  spec:
     9    containers:
    10      - name: prometheus-node-exporter
    11        image: gcr.io/k8s-testimages/quay.io/prometheus/node-exporter:v1.0.1
    12        imagePullPolicy: "IfNotPresent"
    13        args:
    14          - --path.sysfs=/host/sys
    15          - --path.rootfs=/host/root
    16          - --no-collector.wifi
    17          - --no-collector.hwmon
    18          - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
    19          - --collector.netstat.fields=^.*$
    20          - --collector.qdisc
    21        ports:
    22          - name: metrics
    23            containerPort: 9100
    24            hostPort: 9100
    25        volumeMounts:
    26          - mountPath: /host/sys
    27            mountPropagation: HostToContainer
    28            name: sys
    29            readOnly: true
    30          - mountPath: /host/root
    31            mountPropagation: HostToContainer
    32            name: root
    33            readOnly: true
    34        resources:
    35          limits:
    36            cpu: 10m
    37            memory: 50Mi
    38          requests:
    39            cpu: 10m
    40            memory: 50Mi
    41    hostNetwork: true
    42    hostPID: true
    43    volumes:
    44      - hostPath:
    45          path: /sys
    46        name: sys
    47      - hostPath:
    48          path: /
    49        name: root