Multi-layer routing
Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
parent
8392503df7
commit
d6598f370c
37 changed files with 2834 additions and 37 deletions
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: parent-default
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`default.example.com`)
|
||||
kind: Rule
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: child-same
|
||||
namespace: default
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: parent-default
|
||||
routes:
|
||||
- match: Path(`/same`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: same-service
|
||||
port: 9000
|
||||
Loading…
Add table
Add a link
Reference in a new issue