Advertisement
kita_no_tori

traefik-deployment.yml

Aug 10th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.82 KB | None | 0 0
  1. kind: Deployment
  2. apiVersion: extensions/v1beta1
  3. metadata:
  4.   namespace: default
  5.   name: traefik
  6.   labels:
  7.     app: traefik
  8. spec:
  9.   replicas: 1
  10.   selector:
  11.     matchLabels:
  12.       app: traefik
  13.   template:
  14.     metadata:
  15.       labels:
  16.         app: traefik
  17.     spec:
  18.       serviceAccountName: traefik-ingress-controller
  19.       containers:
  20.       - name: traefik
  21.         image: traefik:v2.0.0-beta1-alpine
  22.         ports:
  23.         - name: https
  24.           containerPort: 443
  25.           hostPort: 443
  26.         - name: dashboard
  27.           containerPort: 8080
  28.           hostPort: 8080
  29.         args:
  30.        - --entrypoints.https.Address=:443
  31.         - --providers.kubernetescrd=true
  32.         - --api.dashboard=true
  33.         - --log.level=INFO
  34.         - --global.sendanonymoususage=false
  35.         - --global.checknewversion=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement