Sen descrición

Tom Denham c55b98bd6a Merge branch 'master' into fix %!s(int64=8) %!d(string=hai) anos
Documentation 1ab041f34e Merge pull request #633 from tomdee/remove-multiple-networks %!s(int64=8) %!d(string=hai) anos
backend 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
dist 1ab041f34e Merge pull request #633 from tomdee/remove-multiple-networks %!s(int64=8) %!d(string=hai) anos
logos 170fd5de88 logos: resized for readme %!s(int64=9) %!d(string=hai) anos
network 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
pkg c254deaf7b Correcting format for pkg/ip/ipnet.go %!s(int64=8) %!d(string=hai) anos
subnet c55b98bd6a Merge branch 'master' into fix %!s(int64=8) %!d(string=hai) anos
vendor 1b8190be03 glide install %!s(int64=8) %!d(string=hai) anos
version cbac427350 Version embedding for Go 1.4 and 1.5 %!s(int64=9) %!d(string=hai) anos
.dockerignore a8972ad5cd BUILDS: Overhaul build process %!s(int64=8) %!d(string=hai) anos
.gitignore 77ea67d61e Add iptables binaries %!s(int64=8) %!d(string=hai) anos
.travis.yml 56ef07bd0f Makefile: Push tags to flannel-git for all builds %!s(int64=8) %!d(string=hai) anos
CONTRIBUTING.md c1c060c005 Added boilerplate files %!s(int64=10) %!d(string=hai) anos
DCO c1c060c005 Added boilerplate files %!s(int64=10) %!d(string=hai) anos
Dockerfile.amd64 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
Dockerfile.arm 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
Dockerfile.arm64 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
Dockerfile.ppc64le 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
Dockerfile.s390x 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
LICENSE c1c060c005 Added boilerplate files %!s(int64=10) %!d(string=hai) anos
MAINTAINERS c2171f9dc5 MAINTAINERS: remove steevej %!s(int64=8) %!d(string=hai) anos
Makefile 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
NOTICE c1c060c005 Added boilerplate files %!s(int64=10) %!d(string=hai) anos
README.md bb68236217 Documentation: Split README into multiple files %!s(int64=8) %!d(string=hai) anos
glide.lock dbee0823c2 glide update %!s(int64=8) %!d(string=hai) anos
glide.yaml dbee0823c2 glide update %!s(int64=8) %!d(string=hai) anos
license-check.sh a8972ad5cd BUILDS: Overhaul build process %!s(int64=8) %!d(string=hai) anos
main.go 01afb49e72 Remove the experimental support for multiple networks. %!s(int64=8) %!d(string=hai) anos
packet-01.png 82195b1cc4 diagram: update to reflect name change %!s(int64=10) %!d(string=hai) anos

README.md

flannel

flannel Logo

Build Status

flannel is a virtual network that gives a subnet to each host for use with container runtimes.

Platforms like Kubernetes assume that each container (pod) has a unique, routable IP inside the cluster. The advantage of this model is that it reduces the complexity of doing port mapping.

Theory of Operation

flannel runs an agent, flanneld, on each host and is responsible for allocating a subnet lease out of a preconfigured address space. flannel uses etcd to store the network configuration, allocated subnets, and auxiliary data (such as host's IP). The forwarding of packets is achieved using one of several strategies that are known as backends. The simplest backend is udp and uses a TUN device to encapsulate every IP fragment in a UDP packet, forming an overlay network. The following diagram demonstrates the path a packet takes as it traverses the overlay network:

Life of a packet

Documenation