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

Optimized the centre gateway election policy #146

Open
River-sh opened this issue Nov 21, 2023 · 0 comments
Open

Optimized the centre gateway election policy #146

River-sh opened this issue Nov 21, 2023 · 0 comments

Comments

@River-sh
Copy link
Contributor

River-sh commented Nov 21, 2023

https://github.com/openyurtio/raven/blob/c680901d4064e593c49fab445f9a29d95a73af94/pkg/networkengine/vpndriver/driver.go#L78C1-L78C1

At present, the election mode of the centre gateway is selected sequentially from the nodes with underNAT=false. However, some edge nodes have public IP and underNAT=false, which is not suitable for centre. I hope to optimize the election policy of the centre gateway.
I suggest select gateway with spec.exposedType=LoadBalancer or PublicIP as the centre.

@River-sh River-sh changed the title Optimized the centre gateway election method Optimized the centre gateway election policy Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant