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

19 lines
366 B
YAML

apiVersion: v1
kind: Service
metadata:
name: traefik-service
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.10.150
spec:
type: LoadBalancer
externalTrafficPolicy: Local
ports:
- name: traefik-dashboard
port: 8080
targetPort: dashboard
- name: traefik-web
port: 80
targetPort: web
selector:
app: traefik