add route
This commit is contained in:
parent
48091be949
commit
941b5a04d5
@ -66,3 +66,19 @@ spec:
|
|||||||
targetPort: 80
|
targetPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
---
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: ocr-http
|
||||||
|
namespace: ecosystem
|
||||||
|
spec:
|
||||||
|
hostnames:
|
||||||
|
- ocr-api-testing.leaflow.cn
|
||||||
|
parentRefs:
|
||||||
|
- name: http-gw
|
||||||
|
namespace: networking
|
||||||
|
rules:
|
||||||
|
- backendRefs:
|
||||||
|
- name: easyocr
|
||||||
|
port: 80
|
Loading…
Reference in New Issue
Block a user