-
Notifications
You must be signed in to change notification settings - Fork 8
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
Auto extend node subnet #155
Comments
@smnzlnsk what do you think about it? |
A couple points that popped up:
I think there are a lot of variables we need to respect, before going ahead with this. In general this seems like a good idea, though, iff the node will be able to withstand higher strain in the future (and the scheduler does not discriminate). |
Ideally, I think that we should not be limited by addressing space but by actual resources. If a node has run out of resources, the scheduler will not (or should not) send new deployments regardless. If, instead, a node is capable of handling new workloads according to the SLA but has run out of addresses, it should request more, I guess. |
Short
The node subnet is composed of 64 addresses. If a worker requires more addresses, we should perform another request to extend the subnetwork.
Proposal
At worker initialization time, the worker requires a net size of 64 as usual. Then, every time the address space is exhausted because we have more than 64 networked containers in a worker, we should extend it with a new request that proposes a second subnet to the worker.
One possible solution would
-> Request a new subnet if a subnet is exhausted inside
env.generateAddress()
-> The new addresses can be stored inside
env.addrCache
Ratio
Remove container limitations.
Impact
NetManager - Cluster manager(maybe)
Development time
1 week
Status
finding a solution
Checklist
The text was updated successfully, but these errors were encountered: