K3s-cluster/traefik-lb/service.yaml

22 lines
359 B
YAML

apiVersion: v1
kind: Service
metadata:
name: traefik
spec:
type: LoadBalancer
selector:
app: traefik
ports:
- protocol: TCP
port: 80
name: web
targetPort: 80
- protocol: TCP
port: 8080
name: admin
targetPort: 8080
- protocol: TCP
port: 25565
name: minecrafttcp
targetPort: 25565