kind: Deployment apiVersion: apps/v1 metadata: name: traefik labels: app: traefik spec: replicas: 1 selector: matchLabels: app: traefik template: metadata: labels: app: traefik spec: serviceAccountName: traefik-ingress-controller containers: - name: traefik image: traefik:v2.7 args: - --log.level=DEBUG - --api - --api.insecure - --entrypoints.web.address=:80 - --entrypoints.minecrafttcp.address=:25565/tcp - --providers.kubernetescrd ports: - name: web containerPort: 80 - name: admin containerPort: 8080 - name: minecrafttcp containerPort: 25565