mirror of
https://github.com/alibaba/higress.git
synced 2026-06-26 02:35:02 +08:00
fix: merge InferencePool route configs during HTTPRoute merge (#3964)
This commit is contained in:
@@ -242,6 +242,35 @@ spec:
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/multi-route-infpool-1.default,HTTPRoute/multi-route-infpool-2.default
|
||||
internal.istio.io/route-semantics: gateway
|
||||
name: higress-system~gateway-istio-autogenerated-k8s-gateway-default~multi-infpool.domain.example
|
||||
namespace: default
|
||||
spec:
|
||||
gateways:
|
||||
- higress-system/gateway-istio-autogenerated-k8s-gateway-default
|
||||
hosts:
|
||||
- multi-infpool.domain.example
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /model1
|
||||
name: default/multi-route-infpool-1
|
||||
route:
|
||||
- destination:
|
||||
host: infpool-model1-ip-aaaaf2d6.default.svc.domain.suffix
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /model2
|
||||
name: default/multi-route-infpool-2
|
||||
route:
|
||||
- destination:
|
||||
host: infpool-model2-ip-f857bff9.default.svc.domain.suffix
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
annotations:
|
||||
internal.istio.io/parents: HTTPRoute/redirect-prefix-replace.default
|
||||
|
||||
Reference in New Issue
Block a user