19 lines
388 B
YAML
19 lines
388 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: traefik-service
|
|
annotations:
|
|
metallb.universe.tf/loadBalancerIPs: 192.168.10.150,2a02:a442:ba11:1::150
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
- name: traefik-dashboard
|
|
port: 8080
|
|
targetPort: dashboard
|
|
- name: traefik-web
|
|
port: 80
|
|
targetPort: web
|
|
selector:
|
|
app: traefik
|