traefik-metrics-service.yaml 494 B

12345678910111213141516171819202122
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. labels:
  5. app.kubernetes.io/instance: traefik
  6. app.kubernetes.io/managed-by: Helm
  7. app.kubernetes.io/name: traefik
  8. helm.sh/chart: traefik-10.19.300
  9. app: traefik-metrics
  10. name: traefik-metrics
  11. namespace: kube-system
  12. spec:
  13. ports:
  14. - name: metrics
  15. port: 9100
  16. protocol: TCP
  17. targetPort: metrics
  18. selector:
  19. app.kubernetes.io/instance: traefik
  20. app.kubernetes.io/name: traefik
  21. sessionAffinity: None
  22. type: ClusterIP