K3s-cluster/traefik-lb/service.yaml

22 lines
359 B
YAML
Raw Normal View History

2022-05-10 23:24:25 +00:00
apiVersion: v1
kind: Service
metadata:
name: traefik
2022-05-10 23:24:25 +00:00
spec:
type: LoadBalancer
selector:
app: traefik
ports:
- protocol: TCP
port: 80
name: web
targetPort: 80
- protocol: TCP
port: 8080
name: admin
targetPort: 8080
2022-05-15 17:28:59 +00:00
- protocol: TCP
2022-05-10 23:24:25 +00:00
port: 25565
2022-05-15 17:28:59 +00:00
name: minecrafttcp
2022-05-10 23:24:25 +00:00
targetPort: 25565