kube-state-metrics-svc.yaml 563 B

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