node-exporter-service.yaml 551 B

123456789101112131415161718192021222324252627
  1. ---
  2. # Source: loki-stack/charts/prometheus/templates/node-exporter-service.yaml
  3. apiVersion: v1
  4. kind: Service
  5. metadata:
  6. annotations:
  7. prometheus.io/scrape: "true"
  8. labels:
  9. component: "node-exporter"
  10. app: prometheus
  11. release: loki
  12. chart: prometheus-9.3.1
  13. heritage: Tiller
  14. name: loki-prometheus-node-exporter
  15. spec:
  16. clusterIP: None
  17. ports:
  18. - name: metrics
  19. port: 9100
  20. protocol: TCP
  21. targetPort: 9100
  22. selector:
  23. component: "node-exporter"
  24. app: prometheus
  25. release: loki
  26. type: "ClusterIP"