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

Support more than 1024 pods via multiple Linux bridges #2095

Open
jokerwyt opened this issue Oct 31, 2024 · 2 comments
Open

Support more than 1024 pods via multiple Linux bridges #2095

jokerwyt opened this issue Oct 31, 2024 · 2 comments

Comments

@jokerwyt
Copy link

jokerwyt commented Oct 31, 2024

For now, Linux hardcodes a limit (1024) for the maximum ports of an eth bridge. The kernel recompilation is needed to make it larger. Therefore, flannel cannot support pods of more than 1024. I think we can use multiple bridges to overcome this problem. We connect them together and assign pods' veth to one of them. Does that solution make sense?

@jokerwyt jokerwyt changed the title Support more than 1024 pods via multiple Linux bridge Support more than 1024 pods via multiple Linux bridges Oct 31, 2024
@rbrtbnfgl
Copy link
Contributor

Considering that by default for IPv4 the masklen is /24 for the node CIDR then the number of pods that will be around 250 more or less. Your case requires a specific configuration I don't know if using multiple bridges could be the best solution.

@jokerwyt
Copy link
Author

jokerwyt commented Nov 8, 2024

Considering that by default for IPv4 the masklen is /24 for the node CIDR then the number of pods that will be around 250 more or less. Your case requires a specific configuration I don't know if using multiple bridges could be the best solution.

Yeah but putting more than 256 pods in a node is not a rare need according to my experience

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