Няма описание

Tom Denham 299c4ec4b3 Merge pull request #656 from tomdee/docs-shuffle преди 8 години
Documentation bb68236217 Documentation: Split README into multiple files преди 8 години
backend b616c8bc49 backend/hostgw: Fix memory leak преди 8 години
dist 92d21600c0 e2e: Allow the backend list to be overridden преди 8 години
logos 170fd5de88 logos: resized for readme преди 9 години
network 1bf4e6b6aa vendor: Make code compatible again преди 8 години
pkg c254deaf7b Correcting format for pkg/ip/ipnet.go преди 8 години
subnet afc5e0d997 subnet: Move etcd files into their own package. преди 8 години
vendor fbf578f0df vendor: Revendor with more sensible pinnings преди 8 години
version cbac427350 Version embedding for Go 1.4 and 1.5 преди 9 години
.dockerignore a8972ad5cd BUILDS: Overhaul build process преди 8 години
.gitignore 2243d07b41 Builds: Insert libpthread into busybox images преди 8 години
.travis.yml 56ef07bd0f Makefile: Push tags to flannel-git for all builds преди 8 години
CONTRIBUTING.md c1c060c005 Added boilerplate files преди 10 години
DCO c1c060c005 Added boilerplate files преди 10 години
Dockerfile.amd64 2243d07b41 Builds: Insert libpthread into busybox images преди 8 години
Dockerfile.arm 2243d07b41 Builds: Insert libpthread into busybox images преди 8 години
Dockerfile.arm64 2243d07b41 Builds: Insert libpthread into busybox images преди 8 години
Dockerfile.ppc64le 2243d07b41 Builds: Insert libpthread into busybox images преди 8 години
LICENSE c1c060c005 Added boilerplate files преди 10 години
MAINTAINERS c2171f9dc5 MAINTAINERS: remove steevej преди 8 години
Makefile 4c9e4f4c16 Build tar.gz for ppc64le, arm and arm64 arch преди 8 години
NOTICE c1c060c005 Added boilerplate files преди 10 години
README.md bb68236217 Documentation: Split README into multiple files преди 8 години
glide.lock fbf578f0df vendor: Revendor with more sensible pinnings преди 8 години
glide.yaml fbf578f0df vendor: Revendor with more sensible pinnings преди 8 години
license-check.sh a8972ad5cd BUILDS: Overhaul build process преди 8 години
main.go afc5e0d997 subnet: Move etcd files into their own package. преди 8 години
packet-01.png 82195b1cc4 diagram: update to reflect name change преди 10 години

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