try various route matchers
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
d81b7fe06a
commit
97bbae46d3
|
@ -50,12 +50,16 @@ spec:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`echo.fp.sbtp.xyz`)
|
- match: PathPrefix('/echo') #Host(`echo.fp.sbtp.xyz`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: echo
|
- name: echo
|
||||||
port: 80
|
port: 80
|
||||||
|
- match: PathPrefix('/foo') #Host(`echo.fp.sbtp.xyz`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: echo
|
||||||
|
port: 8001
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# apiVersion: networking.k8s.io/v1
|
# apiVersion: networking.k8s.io/v1
|
||||||
|
|
Loading…
Reference in New Issue