Integrating Flannel with CoreOS
Flannel runs a daemon
flanneld on each host, responsible for allocating a free IP within the configured subnet.
flanneld sets a watch on
etcd information and routes the packets using the mechanism configured.
flanneld service is not part of the standard CoreOS distribution, when the
flanneld service is started through
cloud-config, CoreOS internally starts a service before other initializations to pull
flanneld from the
flanneld is stored as a
docker container in the CoreOS enterprise registry.
The same setup used for Weave networking is being used here. Note that for Flannel, hostnames are irrelevant.
The following is the
cloud-config file used to create setup. The other configuration ...