Không có mô tả

Tom Denham 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
Documentation 7260979f74 Explicitly state operator: Exists for master node toleration - as tolleration defaults to Equal by default which will result in the non scheduling of flannel on the master nodes 8 năm trước cách đây
backend befe8799db Fix various little problems found by gometalinter 8 năm trước cách đây
dist a80b580dc5 functional-test: Add a simple bandwidth test 8 năm trước cách đây
logos 170fd5de88 logos: resized for readme 9 năm trước cách đây
network 1bf4e6b6aa vendor: Make code compatible again 8 năm trước cách đây
pkg c254deaf7b Correcting format for pkg/ip/ipnet.go 8 năm trước cách đây
subnet 5d733f0273 subnet/etcdv2: Fix panic from bad error contruction 8 năm trước cách đây
vendor fbf578f0df vendor: Revendor with more sensible pinnings 8 năm trước cách đây
version cbac427350 Version embedding for Go 1.4 and 1.5 9 năm trước cách đây
.dockerignore a8972ad5cd BUILDS: Overhaul build process 8 năm trước cách đây
.gitignore 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
.travis.yml 56ef07bd0f Makefile: Push tags to flannel-git for all builds 8 năm trước cách đây
CONTRIBUTING.md c1c060c005 Added boilerplate files 10 năm trước cách đây
DCO c1c060c005 Added boilerplate files 10 năm trước cách đây
Dockerfile.amd64 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
Dockerfile.arm 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
Dockerfile.arm64 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
Dockerfile.ppc64le 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
Dockerfile.s390x 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
LICENSE c1c060c005 Added boilerplate files 10 năm trước cách đây
MAINTAINERS c2171f9dc5 MAINTAINERS: remove steevej 8 năm trước cách đây
Makefile 444ef90c71 Makefile: Switch to a new version of kube-cross 8 năm trước cách đây
NOTICE c1c060c005 Added boilerplate files 10 năm trước cách đây
README.md bb68236217 Documentation: Split README into multiple files 8 năm trước cách đây
glide.lock fbf578f0df vendor: Revendor with more sensible pinnings 8 năm trước cách đây
glide.yaml fbf578f0df vendor: Revendor with more sensible pinnings 8 năm trước cách đây
license-check.sh a8972ad5cd BUILDS: Overhaul build process 8 năm trước cách đây
main.go afc5e0d997 subnet: Move etcd files into their own package. 8 năm trước cách đây
packet-01.png 82195b1cc4 diagram: update to reflect name change 10 năm trước cách đây

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