23 lines
767 B
YAML
23 lines
767 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: traefik
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: traefik
|
|
args:
|
|
- "--entryPoints.web.address=:8000/tcp"
|
|
- "--entryPoints.websecure.address=:8443/tcp"
|
|
- "--entryPoints.traefik.address=:9000/tcp"
|
|
- "--api=true"
|
|
- "--api.dashboard=true"
|
|
- "--ping=true"
|
|
- "--providers.kubernetescrd"
|
|
- "--providers.kubernetescrd.allowCrossNamespace=true"
|
|
- "--certificatesresolvers.myresolver.acme.storage=/data/acme.json"
|
|
- "--certificatesresolvers.myresolver.acme.tlschallenge=true"
|
|
- "--certificatesresolvers.myresolver.acme.email=jakub.hajek+webinar@traefik.io"
|