2016-05-06 10:34:30 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: traefik-web-ui
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
k8s-app: traefik-ingress-lb
|
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
port: 80
|
2017-02-02 04:02:04 +00:00
|
|
|
targetPort: 8081
|
2016-05-06 10:34:30 +00:00
|
|
|
---
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: traefik-web-ui
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
rules:
|
2017-05-04 12:31:38 +00:00
|
|
|
- host: traefik-ui.minikube
|
2016-05-06 10:34:30 +00:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: traefik-web-ui
|
|
|
|
servicePort: web
|