try various route matchers
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-28 20:53:20 -08:00
parent d81b7fe06a
commit 97bbae46d3
1 changed files with 6 additions and 2 deletions

View File

@ -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