K3s-cluster/traefik-lb/service.yaml

26 lines
439 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: 443
name: websecure
targetPort: 443
- protocol: TCP
port: 8080
name: admin
targetPort: 8080
- protocol: TCP
port: 25565
name: minecrafttcp
targetPort: 25565