argocd-test/traefik/base/002-traefik.yaml
2024-09-22 13:37:14 +02:00

31 lines
682 B
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: traefik-deployment
labels:
app: traefik
spec:
replicas: 3
selector:
matchLabels:
app: traefik
template:
metadata:
labels:
app: traefik
spec:
serviceAccountName: traefik-account
containers:
- name: traefik
image: traefik:v3.1
args:
- --api.insecure
- --providers.kubernetesingress
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service
ports:
- name: web
containerPort: 80
- name: dashboard
containerPort: 8080