# Flannel

> flannel is a network fabric for containers, designed for Kubernetes

Source: https://talira.ai/catalog/flannel-fzs48341
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [infrastructure / kubernetes / cni](https://talira.ai/categories/infrastructure/kubernetes/cni), [infrastructure / kubernetes](https://talira.ai/categories/infrastructure/kubernetes)
- Platforms: kubernetes, linux, windows[^1][^4]
- Licence: Apache-2.0[^1][^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^1]

Flannel is a simple layer 3 network fabric for [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md): a small agent, flanneld, on each host leases that host a subnet from a cluster-wide range and forwards pod traffic between hosts with VXLAN (recommended), host-gw routing, [WireGuard](https://talira.ai/catalog/wireguard-5kp2vca6.md) or UDP for debugging, storing its state in the Kubernetes API or [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md). It's the default CNI in [K3s](https://talira.ai/catalog/k3s-mr4x8s65.md) and [RKE2](https://talira.ai/catalog/rke2-yttex8v2.md), supports Windows worker nodes, and also networks containers outside Kubernetes. It doesn't enforce network policies by itself: its [Helm](https://talira.ai/catalog/helm-wvsxp6a4.md) chart can add the Kubernetes SIGs network policy controller, or [Calico](https://talira.ai/catalog/calico-0n5tyxxq.md) can provide policy on top (Canal). It's Apache-2.0.

## Links

- GitHub: https://github.com/flannel-io/flannel
- Docs: https://github.com/flannel-io/flannel/tree/master/Documentation

## Ways to install

### On Kubernetes

- [Artifact Hub](https://talira.ai/catalog/artifact-hub-s43pzyps.md): <https://artifacthub.io/packages/helm/flannel/flannel>[^1]

## Problems it solves

- the simplest way to give pods on different Kubernetes nodes IP addresses that can reach each other
- pick a lightweight CNI plugin for a small or edge Kubernetes cluster
- pod networking for a kubeadm cluster with almost no configuration
- an overlay network between hosts that works on any cloud without touching its routing tables
- faster pod networking with plain routes when all our nodes share one layer 2 network
- encrypt pod traffic between nodes with WireGuard using the same CNI
- networking that supports Windows worker nodes in our Kubernetes cluster
- allocate each host its own container subnet and route between them for Docker containers outside Kubernetes
- add network policy enforcement to a cluster whose pod network is flannel

## Features

- flanneld agent on each host allocates a subnet lease from a preconfigured range
- Kubernetes API (kube subnet manager) or etcd as the datastore
- backends: VXLAN, host-gw, WireGuard and UDP; experimental IPIP, IPsec, Alloc and TencentCloud VPC
- VXLAN DirectRouting uses plain routes between hosts on the same subnet
- IPv6 and dual-stack options
- Windows support for VXLAN
- CNI plugin for Kubernetes and guidance for Docker outside Kubernetes
- kubectl manifest attached to each release and a Helm chart with an optional network policy controller

## Limitations

- Doesn't enforce Kubernetes network policies by itself: add the kube-network-policies controller through its Helm chart, or Calico[^1][^2]

## Trust

Overall: 0.23 out of 1.
Signals: backing 0.20, extensibility 0.00.

- used by SUSE (K3s and RKE2), Tigera (Canal), Microsoft, LinkedIn

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)

## Alternatives

- [Cilium](https://talira.ai/catalog/cilium-pk3603je.md): eBPF-based Networking, Security, and Observability
- [Calico](https://talira.ai/catalog/calico-0n5tyxxq.md): Cloud native networking and network security

## Sources

[^1]: https://github.com/flannel-io/flannel (checked 20 Nov 2026)
[^2]: https://github.com/flannel-io/flannel/blob/master/Documentation/netpol.md (checked 20 Nov 2026)
[^3]: https://github.com/flannel-io/flannel/blob/master/LICENSE (checked 20 Nov 2026)
[^4]: https://github.com/flannel-io/flannel/blob/master/Documentation/backends.md (checked 20 Nov 2026)
