K3s-cluster/traefik-lb/service.yaml

26 lines
439 B
YAML
Raw Normal View History

2022-05-11 01:24:25 +02:00
apiVersion: v1
kind: Service
metadata:
name: traefik
2022-05-11 01:24:25 +02:00
spec:
type: LoadBalancer
selector:
app: traefik
ports:
- protocol: TCP
port: 80
name: web
targetPort: 80
2022-05-15 21:43:31 +02:00
- protocol: TCP
port: 443
name: websecure
targetPort: 443
2022-05-11 01:24:25 +02:00
- protocol: TCP
port: 8080
name: admin
targetPort: 8080
2022-05-15 19:28:59 +02:00
- protocol: TCP
2022-05-11 01:24:25 +02:00
port: 25565
2022-05-15 19:28:59 +02:00
name: minecrafttcp
2022-05-11 01:24:25 +02:00
targetPort: 25565