소스 검색

Disable the wifi collector in node_exporter

This collector isn't useful for OpenShift and it produces AVC denials
from SELinux.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1593211
Simon Pasquier 6 년 전
부모
커밋
cc9e35cb30
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      roles/openshift_prometheus/files/node-exporter-template.yaml

+ 2 - 0
roles/openshift_prometheus/files/node-exporter-template.yaml

@@ -65,6 +65,8 @@ objects:
         containers:
         - image: ${IMAGE}
           name: node-exporter
+          args:
+          - --no-collector.wifi
           ports:
           - containerPort: 9100
             name: scrape