2017-04-20 22:21:38 +08:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: traefik-ingress
|
2017-08-16 15:41:39 +08:00
|
|
|
namespace: default
|
2017-04-20 22:21:38 +08:00
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: traefik.nginx.io
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: my-nginx
|
|
|
|
servicePort: 80
|
|
|
|
- host: traefik.frontend.io
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: frontend
|
|
|
|
servicePort: 80
|
2017-05-10 17:12:13 +08:00
|
|
|
- host: rolling-update-test.traefik.io
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: rolling-update-test
|
|
|
|
servicePort: 9090
|
2017-07-20 19:40:53 +08:00
|
|
|
- host: k8s-app-monitor-agent.jimmysong.io
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: k8s-app-monitor-agent
|
|
|
|
servicePort: 8080
|