Skip to main content

Flannel

non-cncf
Tech Writing Pass

Content Lifecycle & Evolution State

1
Initial Seed
Metadata Loaded
2
First Research
Automated Gathering
3
Tech Writing
Content Structured
4
Approval
Editorial Verified
Tech Writing Pass Completed: The technical overview and features have been structured by our autonomous content agents. Final editorial approval is pending.

Overview

Flannel is a network fabric designed for Kubernetes.

Key Features

  • 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.

  • 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.

  • Provides a layer 3 IPv4 network between multiple nodes in a cluster.

  • Provides a CNI plugin for Kubernetes and a guidance on integrating with Docker.

Use Cases

Flannel is responsible for providing a layer 3 IPv4 network between multiple nodes in a cluster.

Getting Started

For Kubernetes v1.17+, apply the Flannel manifest with kubectl to deploy the network plugin on your cluster.

Did You Know?

While the flanneld binary does not natively enforce Network Policies, the Flannel project provides ways to add policy support to your cluster.