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

是否有计划支持service-weight注解 #1044

Closed
phantooom opened this issue Jun 16, 2024 · 3 comments
Closed

是否有计划支持service-weight注解 #1044

phantooom opened this issue Jun 16, 2024 · 3 comments

Comments

@phantooom
Copy link

在阿里维护的ingress版本中支持过 nginx.ingress.kubernetes.io/service-weight 这个注解用来做权重分流策略。
https://help.aliyun.com/zh/ack/ack-managed-and-ack-dedicated/user-guide/use-the-nginx-ingress-controller-for-canary-releases-and-blue-green-deployments#section-vrs-t38-h3b

相比原生的nginx-ingress 使用nginx.ingress.kubernetes.io/canary-weight 我觉得在API层面更容易理解,也比较符合直觉。

请问是否有计划在higress中支持这个注解。

@johnlanni
Copy link
Collaborator

@phantooom
Copy link
Author

请教下这个注解支持转发到 headless 类型的service吗,我看例子中是mcp。

@johnlanni
Copy link
Collaborator

@phantooom 支持的,直接写FQDN就行

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

No branches or pull requests

2 participants