Flannel is an overlay network provider that can be used with Kubernetes.
Stuff you wanna know:
- Flannel runs a small, single binary agent called
flanneld
on each host, and is responsible for allocating a subnet lease to each host out of a larger, preconfigured address space. - Flannel uses either the Kubernetes API or etcd directly to store the network configuration, the allocated subnets, and any auxiliary data (such as the host’s public IP).
- Flannel manages an IPv4 network between multiple nodes in a cluster.
- Flannel does not control how containers are networked to the host, only how the traffic is transported between hosts.
- Flannel does provide a CNI plugin for Kubernetes and a guidance on integrating with Docker.
More stuff:
- Using Flannel in VXLAN mode (Configuration) — https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/#networking-configuration
- Installing Addons — https://kubernetes.io/docs/concepts/cluster-administration/addons/
- Flannel repositories on GitHub — https://github.com/flannel-io/flannel
- Deploying Flannel manually — https://github.com/flannel-io/flannel#deploying-flannel-manually
- CNI with Flannel — https://ubuntu.com/kubernetes/docs/cni-flannel
- Comparing Kubernetes CNI Providers: Flannel, Calico, Canal, and Weave — https://www.suse.com/c/rancher_blog/comparing-kubernetes-cni-providers-flannel-calico-canal-and-weave/
- Flannel CNI (Platform 9) — https://platform9.com/docs/kubernetes/networking-integration-with-flannel
- Using Calico network policy on top of flannel networking — https://projectcalico.docs.tigera.io/getting-started/kubernetes/flannel/
- Container Network Interface (CNI) Providers (Rancher) — https://rancher.com/docs/rancher/v2.5/en/faq/networking/cni-providers/
- Cluster networking — https://kubernetes.io/docs/concepts/cluster-administration/networking/
- Projects integrating with Flannel — https://github.com/flannel-io/flannel/blob/master/Documentation/integrations.md