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

flannel: add static configuration and subnet lease support #131

Closed
wants to merge 1 commit into from
Closed

flannel: add static configuration and subnet lease support #131

wants to merge 1 commit into from

Conversation

kelseyhightower
Copy link
Contributor

flannel can be configured with a static configuration and subnet lease.

flanneld -config '{"Network": "10.0.0.0/8", "SubnetLen": 20, "SubnetMin": "10.10.0.4", "SubnetMax": "10.99.0.0"}' -subnet="10.10.0.0-24"

The result of this change means flannel can start without etcd. Once etcd
is online, flannel will register its lease.

flannel can be configured with a static configuration and subnet lease.

    flanneld -config '{"Network": "10.0.0.0/8", "SubnetLen": 20, "SubnetMin": "10.10.0.4", "SubnetMax": "10.99.0.0"}' -subnet="10.10.0.0-24"

The result of this change means flannel can start without etcd. Once etcd
is online, flannel will register its lease.
@eyakubovich
Copy link
Contributor

@kelseyhightower I'm not sure I understand how the whole thing is going to work. This will make it possible for etcd to run over flannel network but how will other nodes join in? They would have the same bootstrapping problem. How would they reach etcd to get their lease and setup a routes/overlay to etcd node?

@eyakubovich
Copy link
Contributor

@kelseyhightower I understand how this works in alloc mode + GCE where something else configures the network. But I fail to understand how it can work with overlays? How will other nodes contact etcd over overlay if it's not setup for them yet?

@eyakubovich
Copy link
Contributor

This will be handled by reservations soon.

@eyakubovich eyakubovich closed this Oct 8, 2015
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.

2 participants