New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前higress界面上还不支持Annotation实现高阶流量治理的配置。后续是否有计划这块的研发呢 #927
Comments
https://higress.io/zh-cn/docs/user/annotation-use-case/#rewrite%E9%87%8D%E5%86%99path
|
你是说这个 annotation 吗, |
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
higress.io/destination: vman-new.xxx-wsc.svc.cluster.local:29121
higress.io/rewrite-target: "/$1"
name: xxxxx
namespace: higress-system
labels:
higress.io/resource-definer: higress
spec:
ingressClassName: higress
rules:
- host: xxxxxx
http:
paths:
- backend:
resource:
apiGroup: networking.higress.io
kind: McpBridge
name: default
path: /shopping/renovation/man-api/(.*)
pathType: ImplementationSpecific
那如何实现这种功能呢 |
你这个path应该是走正则匹配吧,然后走正则的rewrite。正则rewrite确实console还不支持 |
ingress没有定义正则的路径类型,所以这里用了prefix,并通过注解来识别是正则 |
目前higress界面上还不支持Annotation实现高阶流量治理的配置。后续是否有计划这块的研发呢
The text was updated successfully, but these errors were encountered: