2019-03-14 14:56:06 +00:00
|
|
|
---
|
|
|
|
kind: Ingress
|
2020-01-16 09:14:06 +00:00
|
|
|
apiVersion: networking.k8s.io/v1beta1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
|
|
|
name: ""
|
|
|
|
namespace: testing
|
|
|
|
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: traefik.tchouk
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /bar
|
|
|
|
backend:
|
|
|
|
serviceName: service1
|
|
|
|
servicePort: tchouk
|
|
|
|
- path: /foo
|
|
|
|
backend:
|
|
|
|
serviceName: service1
|
|
|
|
servicePort: carotte
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: Ingress
|
2020-01-16 09:14:06 +00:00
|
|
|
apiVersion: networking.k8s.io/v1beta1
|
2019-03-14 14:56:06 +00:00
|
|
|
metadata:
|
|
|
|
name: ""
|
|
|
|
namespace: toto
|
|
|
|
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: toto.traefik.tchouk
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /bar
|
|
|
|
backend:
|
|
|
|
serviceName: service1
|
|
|
|
servicePort: tchouk
|