apiVersion: v1 kind: Service metadata: labels: app: node-exporter annotations: prometheus.io/scrape: 'true' name: node-exporter spec: type: ClusterIP clusterIP: None ports: - name: metrics port: 9100 protocol: TCP selector: app: node-exporter