Skip to content

Instantly share code, notes, and snippets.

@Pothulapati
Created February 14, 2019 09:10
Show Gist options
  • Save Pothulapati/e7c80c9e888cc43f0f54f1585d5097cf to your computer and use it in GitHub Desktop.
Save Pothulapati/e7c80c9e888cc43f0f54f1585d5097cf to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: List
items:
---
# Source: traefik/templates/deployment.yaml
- apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-traefik
labels:
app: traefik
chart: "traefik-1.55.1"
release: "release-name"
heritage: "Tiller"
spec:
replicas: 1
selector:
matchLabels:
app: traefik
release: release-name
template:
metadata:
annotations:
checksum/config: 8ac85d420ebe24e4d2996e3f9bf7c098cc995f8db5ab7006bfc5f5f6242e0b72
labels:
app: traefik
chart: "traefik-1.55.1"
release: "release-name"
heritage: "Tiller"
spec:
serviceAccountName: release-name-traefik
terminationGracePeriodSeconds: 60
containers:
- image: traefik:1.7.4
name: release-name-traefik
resources:
requests:
cpu: "100m"
memory: "20Mi"
limits:
cpu: "100m"
memory: "30Mi"
readinessProbe:
tcpSocket:
port: 80
failureThreshold: 1
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
livenessProbe:
tcpSocket:
port: 80
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
volumeMounts:
- mountPath: /config
name: config
- mountPath: /ssl
name: ssl
ports:
- name: http
containerPort: 80
protocol: TCP
- name: httpn
containerPort: 8880
protocol: TCP
- name: https
containerPort: 443
protocol: TCP
- name: dash
containerPort: 8080
protocol: TCP
args:
- --configfile=/config/traefik.toml
volumes:
- name: config
configMap:
name: release-name-traefik
- name: ssl
secret:
secretName: release-name-traefik-default-cert
---
# Source: traefik/templates/acme-pvc.yaml
---
# Source: traefik/templates/dns-provider-secret.yaml
---
# Source: traefik/templates/poddisruptionbudget.yaml
---
# Source: traefik/templates/storeconfig-job.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment