CNI Plugins vs Terway
CNI Plugins
github.comTerway
github.comSide by side
| Figure | CNI Plugins | Terway |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Container Networking Software | 7.8 (#8) | 7.0 (#22) |
| Security reporting | The project asks that security issues be reported privately to the email addresses listed in its OWNERS file. | The project asks users to report code vulnerabilities to [email protected] and refers to SECURITY.md for details. |
Plans
In their own words
CNI Plugins
CNI Plugins is a collection of reference and example network plugins for configuring connectivity in Linux and Windows containers. CNI supplies a specification and libraries, plus a command-line tool for executing plugins and a Go library for application integration. Interface options include bridge, ipvlan, loopback, macvlan, point-to-point, VLAN, host-device, and dummy; Windows-specific plugins include win-bridge and win-overlay. IP address management choices cover DHCP, host-local allocation tracking, and static IPv4 or IPv6 allocation. Meta plugins handle interface tuning, port mapping, bandwidth limits, source-based routing, and firewall rules, and a sample plugin illustrates custom plugin development. CNI focuses on connecting containers and removing allocated resources when a container is deleted. The project is distributed under Apache License 2.0 and is a Cloud Native Computing Foundation project. It is free, with a plan listed at free. Linux and Windows are supported; the latest release page lists Linux archives for amd64, arm, and arm64.
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.