Flannel vs Terway
Flannel
github.comTerway
github.comSide by side
| Figure | Flannel | Terway |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Container Networking Software | 7.8 (#10) | 7.0 (#22) |
| Security reporting | The security policy directs vulnerability reports to GitHub private vulnerability reporting and says maintainers acknowledge reports within seven days. | The project asks users to report code vulnerabilities to [email protected] and refers to SECURITY.md for details. |
Plans
In their own words
Flannel
Flannel is a free network fabric for containers designed for Kubernetes. A small flanneld agent on each host allocates a subnet lease from a configured address space, then forwards packets between hosts using a selected backend. Documented choices include VXLAN, host-gw, WireGuard and UDP, with VXLAN recommended. WireGuard encapsulates and encrypts packets using the in-kernel WireGuard implementation. Network configuration and subnet allocations can be stored in the Kubernetes API or directly in etcd. The project documents Kubernetes and Docker deployments, with Linux and Windows build instructions. Flannel does not enforce network policies itself, though its Helm chart can deploy a Kubernetes SIGs network policy controller alongside it. It runs as a privileged daemonset with access to the host network, so the security policy advises least privilege and keeping it updated. Security fixes are maintained for the latest release only, and the backend documentation says not to change a selected backend at runtime.
Terway
Terway is a free, self-hosted CNI plugin for Alibaba Cloud Kubernetes (ACK), built on Alibaba Cloud ENI technology and running on Linux. Each Pod receives its own network stack and IP address. Pods on one ECS instance communicate directly, while traffic between ECS instances uses VPC ENIs without VxLAN encapsulation. ENI mode allocates interfaces to Pods, and trunking can provide independent ENIs for flexible security-group and switch settings. Node pools can be configured for exclusive ENI use. Terway supports Kubernetes NetworkPolicy, traditional security groups, egress control, dual-stack IPv4 and IPv6, and multi-cluster networking. The project uses eBPF for protocol-stack acceleration and describes the result as low latency and high throughput. Supported environments include Kubernetes ACK, Alibaba Cloud VPC/ENI, Alibaba Cloud Linux 3/4, ContainerOS, and Ubuntu. In self-hosted clusters, trunking is unavailable; the README also marks VPC Network Mode and Exclusive ENI Mode as deprecated.