apiVersion: v1 kind: Service metadata: labels: app: traefik name: traefik-dashboard namespace: {{ traefik_namespace }} spec: ports: - name: http port: 80 protocol: TCP targetPort: 80 # - name: traefik # port: 8080 # protocol: TCP - protocol: TCP port: 443 name: https targetPort: 443 type: ClusterIP selector: app: traefik