Created
August 11, 2019 08:18
-
-
Save nakamorichi/0b91ea8976ebe341cd0eeb4bf0fecb13 to your computer and use it in GitHub Desktop.
Traefik 2.0 deployment definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
namespace: traefik | |
name: traefik | |
labels: | |
app: traefik | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: traefik | |
template: | |
metadata: | |
labels: | |
app: traefik | |
annotations: | |
linkerd.io/inject: enabled | |
spec: | |
serviceAccountName: traefik-ingress-controller | |
terminationGracePeriodSeconds: 60 | |
containers: | |
- name: traefik | |
image: traefik:v2.0.0-beta1-alpine | |
ports: | |
- name: https | |
containerPort: 443 | |
hostPort: 443 | |
- name: dashboard | |
containerPort: 8080 | |
hostPort: 8080 | |
args: | |
- --entrypoints.https.Address=:443 | |
- --providers.kubernetescrd=true | |
- --api.dashboard=true | |
- --log.level=INFO | |
- --global.sendanonymoususage=false | |
- --global.checknewversion=false | |
livenessProbe: | |
httpGet: | |
path: /health | |
port: 8080 | |
initialDelaySeconds: 180 | |
periodSeconds: 3 | |
timeoutSeconds: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment