2017-05-15 17:59:57 +00:00
|
|
|
---
|
2016-05-06 10:34:30 +00:00
|
|
|
apiVersion: v1
|
2017-05-15 17:59:57 +00:00
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: traefik-ingress-controller
|
|
|
|
namespace: kube-system
|
|
|
|
---
|
|
|
|
kind: DaemonSet
|
2016-05-06 10:34:30 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
metadata:
|
|
|
|
name: traefik-ingress-controller
|
|
|
|
namespace: kube-system
|
|
|
|
labels:
|
|
|
|
k8s-app: traefik-ingress-lb
|
|
|
|
spec:
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: traefik-ingress-lb
|
|
|
|
name: traefik-ingress-lb
|
|
|
|
spec:
|
2017-05-15 17:59:57 +00:00
|
|
|
serviceAccountName: traefik-ingress-controller
|
2016-05-06 10:34:30 +00:00
|
|
|
terminationGracePeriodSeconds: 60
|
2016-10-17 16:36:32 +00:00
|
|
|
hostNetwork: true
|
2016-05-06 10:34:30 +00:00
|
|
|
containers:
|
2016-11-10 18:14:53 +00:00
|
|
|
- image: traefik
|
2016-05-06 10:34:30 +00:00
|
|
|
name: traefik-ingress-lb
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 200m
|
|
|
|
memory: 30Mi
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 20Mi
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 80
|
|
|
|
hostPort: 80
|
|
|
|
- name: admin
|
2017-01-30 12:04:32 +00:00
|
|
|
containerPort: 8081
|
2017-05-15 17:59:57 +00:00
|
|
|
securityContext:
|
|
|
|
privileged: true
|
2016-05-06 10:34:30 +00:00
|
|
|
args:
|
2017-01-30 12:04:32 +00:00
|
|
|
- -d
|
2016-05-06 10:34:30 +00:00
|
|
|
- --web
|
2017-01-30 12:04:32 +00:00
|
|
|
- --web.address=:8081
|
2016-05-06 10:34:30 +00:00
|
|
|
- --kubernetes
|