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

31 lines
686 B
YAML
Raw Normal View History

2024-09-22 09:52:27 +00:00
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
2024-09-22 11:38:48 +00:00
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-web-service
2024-09-22 09:52:27 +00:00
ports:
- name: web
containerPort: 80
- name: dashboard
containerPort: 8080