mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 20:45:50 +00:00
26 lines
594 B
YAML
26 lines
594 B
YAML
![]() |
apiVersion: gateway.networking.k8s.io/v1beta1
|
||
|
kind: HTTPRoute
|
||
|
metadata:
|
||
|
name: petclinic-route
|
||
|
annotations:
|
||
|
healthcheck.gslb.tanzu.vmware.com/service: spring-petclinic
|
||
|
healthcheck.gslb.tanzu.vmware.com/path: /
|
||
|
healthcheck.gslb.tanzu.vmware.com/port: "80"
|
||
|
spec:
|
||
|
parentRefs:
|
||
|
- group: gateway.networking.k8s.io
|
||
|
kind: Gateway
|
||
|
name: default-gateway
|
||
|
sectionName: http-petclinic
|
||
|
rules:
|
||
|
- backendRefs:
|
||
|
- group: ""
|
||
|
kind: Service
|
||
|
name: spring-petclinic
|
||
|
port: 8080
|
||
|
weight: 1
|
||
|
matches:
|
||
|
- path:
|
||
|
type: PathPrefix
|
||
|
value: /
|