apiVersion: v1
kind: Service
metadata:
  name: traefik-metrics
  namespace: proxy
  labels:
    app.kubernetes.io/instance: traefik
    app.kubernetes.io/name: traefik-metrics
spec:
  type: ClusterIP
  ports:
  - protocol: TCP
    port: 9100
    name: metrics
  selector:
    app.kubernetes.io/instance: traefik
    app.kubernetes.io/name: traefik