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

Move hardcoded PodCIDR to metal-api #6

Open
majst01 opened this issue Mar 12, 2020 · 0 comments
Open

Move hardcoded PodCIDR to metal-api #6

majst01 opened this issue Mar 12, 2020 · 0 comments

Comments

@majst01
Copy link
Contributor

majst01 commented Mar 12, 2020

same applies to cloud-api. We currently have a 10.244.0.0/16 hard coded in metal-core for route-maps which allow announcements from within this network, and in the cloud-api where this network is specified for pod cidr usage.
In practice this is a user defined network where he wants to start services in a overlay network, only visible and route-able within the boundaries of his private network.
We could consider to allow to specify such networks without any hard checks if this network, or multiple private overlay networks, overlap with existing networks.

Regarding the technical implementation of this... are there any ideas?

I think this issue is pretty urgent.
To me it does not sound like it is so easy to do without making the API harder to understand for end users.
We need to keep in mind that the metal-api does not know anything about clusters or Kubernetes.

Yes, technically this should be handled as any other network, but it must be "attachable" to any cluster/machines, we can add it a by default to all machines, but this sounds crazy ?

Current workaround (splitting up 10.244.x.x network into smaller pieces, still hard-coded into metal-core) restricts Kubernetes clusters to maximum of 4094 pods and 4094 services.

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

1 participant