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
|
|
|
|
containers:
|
2016-11-10 18:14:53 +00:00
|
|
|
- image: traefik
|
2016-05-06 10:34:30 +00:00
|
|
|
name: traefik-ingress-lb
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 80
|
|
|
|
hostPort: 80
|
|
|
|
- name: admin
|
2017-07-29 10:50:04 +00:00
|
|
|
containerPort: 8080
|
2018-06-06 15:16:04 +00:00
|
|
|
hostPort: 8080
|
2017-05-15 17:59:57 +00:00
|
|
|
securityContext:
|
2018-03-22 15:44:05 +00:00
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
add:
|
|
|
|
- NET_BIND_SERVICE
|
2016-05-06 10:34:30 +00:00
|
|
|
args:
|
2018-03-12 09:40:04 +00:00
|
|
|
- --api
|
2016-05-06 10:34:30 +00:00
|
|
|
- --kubernetes
|
2018-03-19 09:38:04 +00:00
|
|
|
- --logLevel=INFO
|
2017-07-29 10:50:04 +00:00
|
|
|
---
|
|
|
|
kind: Service
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: traefik-ingress-service
|
2017-08-03 08:25:05 +00:00
|
|
|
namespace: kube-system
|
2017-07-29 10:50:04 +00:00
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
k8s-app: traefik-ingress-lb
|
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: 80
|
|
|
|
name: web
|
|
|
|
- protocol: TCP
|
|
|
|
port: 8080
|
|
|
|
name: admin
|