20 lines
348 B
YAML
20 lines
348 B
YAML
|
kind: Ingress
|
||
|
apiVersion: extensions/v1beta1
|
||
|
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
|