K3s-cluster/traefik/traefik-external/service.yaml

18 lines
371 B
YAML

apiVersion: v1
kind: Service
metadata:
name: traefik-external-metrics
labels:
app.kubernetes.io/name: traefik-external
app.kubernetes.io/instance: traefik-external
annotations:
spec:
selector:
app.kubernetes.io/name: traefik
app.kubernetes.io/instance: traefik
ports:
- port: 9100
name: metrics
targetPort: "metrics"
protocol: TCP