argocd-test/traefik/base/002-traefik-services.yaml

23 lines
497 B
YAML
Raw Permalink Normal View History

2024-09-22 09:59:10 +00:00
apiVersion: v1
kind: Service
metadata:
name: traefik-service
annotations:
2024-10-08 14:52:39 +00:00
metallb.universe.tf/loadBalancerIPs: 192.168.10.150,2a02:a442:ba11:1::150
2024-09-22 10:15:43 +00:00
spec:
type: LoadBalancer
externalTrafficPolicy: Local
2024-10-08 14:52:39 +00:00
ipFamilyPolicy: RequireDualStack
2024-09-22 10:15:43 +00:00
ports:
- name: traefik-dashboard
port: 8080
2024-09-22 11:12:27 +00:00
targetPort: dashboard
- name: traefik-web
2024-09-22 11:29:38 +00:00
port: 80
targetPort: web
- name: traefik-websecure
port: 443
targetPort: websecure
2024-09-22 11:29:38 +00:00
selector:
app: traefik