-
如下配置注释掉filters可以访问到后端服务,但是放开注释则找不到路由 apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: service-log-ht
namespace: test
spec:
parentRefs:
- name: higress-gateway
namespace: higress-system
hostnames:
- gateway-abc.cn
rules:
- matches:
- path:
type: PathPrefix
value: /api/log-service/
# filters:
# - type: URLRewrite
# urlRewrite:
# path:
# type: ReplacePrefixMatch
# replacePrefixMatch: /
backendRefs:
- name: service-log-default
port: 8000 |
Beta Was this translation helpful? Give feedback.
Answered by
johnlanni
Jul 3, 2024
Replies: 1 comment 1 reply
-
2.0.0会支持,预计月底推出 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hoocoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2.0.0会支持,预计月底推出