K3s-cluster/traefik/service-external.yaml
Tanguy Herbron aa9e372c98 feat(LB): Add MetalLB and Traefik managed LBs
Add custom IP range for LBs to split internal and external access
2022-11-16 23:52:06 +01:00

37 lines
867 B
YAML

---
# Source: traefik/templates/service.yaml
apiVersion: v1
kind: List
metadata:
name: traefik-external
items:
- apiVersion: v1
kind: Service
metadata:
name: traefik-external
labels:
app.kubernetes.io/name: traefik-external
helm.sh/chart: traefik-10.24.2
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: traefik
annotations:
spec:
type: LoadBalancer
loadBalancerIP: 10.19.66.247
selector:
app.kubernetes.io/name: traefik
app.kubernetes.io/instance: traefik
ports:
- port: 25565
name: minecrafttcp
targetPort: "minecrafttcp"
protocol: TCP
- port: 80
name: web
targetPort: "web"
protocol: TCP
- port: 443
name: websecure
targetPort: "websecure"
protocol: TCP