Skip to content
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

[Proposal] 流量路由规则支持Path和QueryParams #205

Closed
lujiajing1126 opened this issue Mar 12, 2024 · 0 comments · Fixed by #204
Closed

[Proposal] 流量路由规则支持Path和QueryParams #205

lujiajing1126 opened this issue Mar 12, 2024 · 0 comments · Fixed by #204

Comments

@lujiajing1126
Copy link
Contributor

概述

目前Rollouts只支持Header(包括Cookie)作为灰度路由规则,在某些情况下不能满足需求:

  • 在Web页面进行前端HTML级别灰度的时候,没法带上特殊的Header(当然Cookie是可以的),
  • 对部分的API路径进行灰度没法直接使用Header匹配,
  • ...

同时,已经有不少Ingress实现和Service Mesh实现能够较好地支持Path和QueryParams

支持矩阵

不同的灰度方案对「查询参数」和「路径」的支持有所不同,(同时由于Rollouts的语义是逻辑或,即只要有一个Match就匹配,和部分实现的逻辑与关系冲突)

流量管理方案 Path支持 QueryParams支持(兼容性)
Nginx Ingress x x
阿里云 ALB x x
阿里云 MSE x 通过注解支持(优先级从高到低:基于Header / 基于Query Parameter > 基于Cookie > 基于权重)
Higress x x
Gateway API -(可能和已有路径冲突) 支持(逻辑与:不能和Header一起用)
Istio 支持 支持
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant