Integration with Flannel
What is Flannel?
Flannel is a very simple overlay network that provides an easy way to configure a layer 3 network fabric designed for Kubernetes. 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). Packets are forwarded using one of several backend mechanisms including VXLAN and various cloud integrations.
For more information on Flannel, refer to Project Flannel Github Page.
Flannel may be paired with several different backends. Platform9 Managed Kubernetes supports deploying Flannel with two backend options - using Flannel with UDP backend, or using Flannel with VXLAN backend and with Calico for network policies.
This article describes using Flannel with UDP backend as the networking layer for your Managed Kubernetes clusters. Refer to Calico with Flannel Networking for more information on using Flannel with VXLAN backend along with Calico for network policies.
Cloud Provider Support Matrix and Prerequisites
|Cloud provider||Support for Flannel||Prerequisites|
|Bare Metal Provider||Yes||
|AWS Provider||Yes||None. All prerequisites are configured by the Managed Kubernetes AWS Provider|
|Azure Provider||Yes||None. All prerequisites are configured by the Managed Kubernetes Azure Provider|
Create Cluster Using Flannel With UDP Backend
While creating the cluster, under Network Configuration, select Flannel as the network option.
Thank you for your feedback! What did you like about this article?
Thank you for your feedback! How could this article be improved?
Thank you for your feedback! For specific questions about PMK or PMK free tier, visit our PMK forum.