github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/node-exporter-serviceMonitor.yaml (about)

     1  apiVersion: monitoring.coreos.com/v1
     2  kind: ServiceMonitor
     3  metadata:
     4    labels:
     5      k8s-app: node-exporter
     6    name: node-exporter
     7    namespace: monitoring
     8  spec:
     9    endpoints:
    10    - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
    11      interval: 30s
    12      port: https
    13      scheme: https
    14      tlsConfig:
    15        insecureSkipVerify: true
    16    jobLabel: k8s-app
    17    selector:
    18      matchLabels:
    19        k8s-app: node-exporter