kube-state-metrics-service.yaml 583 B

1234567891011121314151617181920212223
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. labels:
  5. app.kubernetes.io/component: exporter
  6. app.kubernetes.io/name: kube-state-metrics
  7. app.kubernetes.io/part-of: kube-prometheus
  8. app.kubernetes.io/version: 2.10.1
  9. name: kube-state-metrics
  10. namespace: monitoring
  11. spec:
  12. clusterIP: None
  13. ports:
  14. - name: http-metrics
  15. port: 8080
  16. targetPort: http-metrics
  17. - name: telemetry
  18. port: 8081
  19. targetPort: telemetry
  20. selector:
  21. app.kubernetes.io/component: exporter
  22. app.kubernetes.io/name: kube-state-metrics
  23. app.kubernetes.io/part-of: kube-prometheus