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

fix: egress network governance plugin fails #1547

Merged
merged 1 commit into from Feb 15, 2023

Conversation

yangkaa
Copy link
Collaborator

@yangkaa yangkaa commented Feb 14, 2023

问题:使用出口网络治理插件时,如果组件 A 依赖组件 B ,且组件 B 有两个以上的端口打开了对内服务,如 8003 和 8004 端口,那么组件 A 仅访问组件 B 的 8003 端口时,将会轮询访问到组件 B 的两个端口上。但实际应该只访问到 8003 端口。

问题原因:内置治理模式调整成原生 service 后,一个 service 将会包含多个端口,导致端口重复处理。

解决方案:只获取对应端口的 endpoint 加入到 endpoints 列表中

@yangkaa yangkaa changed the base branch from main to fix-V5.11 February 15, 2023 12:17
@yangkaa yangkaa merged commit 3c83770 into goodrain:fix-V5.11 Feb 15, 2023
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 this pull request may close these issues.

None yet

1 participant