apiVersion: v1 kind: Service metadata: name: traefik-dashboard-svc namespace: default spec: ports: - name: admin port: 8080 protocol: TCP targetPort: 8080 selector: app.kubernetes.io/name: traefik app.kubernetes.io/instance: traefik