ACK offers Terway for ENI-based high-performance networking and Flannel for simpler VPC-routed clusters.
Terway, developed by Alibaba Cloud, uses ENIs for pod networking and provides features such as eBPF-based network acceleration, NetworkPolicy, and pod-level vSwitches and security groups. Suitable for scenarios requiring large node scale, high network performance, and robust security, such as high-performance computing (HPC), gaming, and microservices.
Flannel is an open-source CNI plugin. In ACK, it uses the Alibaba Cloud VPC network mode, forwarding packets directly through the VPC route table. Suitable for small-scale clusters that need simplified networking without granular container network control.
Install a CNI plugin when you create a cluster. The plugin cannot be changed afterward.
With Flannel, ALB Ingress can forward requests only to NodePort and LoadBalancer services. ClusterIP services are not supported.
Item | Terway | Flannel |
Network performance |
Note In DataPath V2 mode, container conntrack data is stored in an eBPF map. Like Linux conntrack, it uses an LRU algorithm, evicting the oldest records when full. Optimize conntrack configurations to avoid exceeding connection limits. | |
Node quota | The maximum number of nodes in a Terway cluster depends on the cluster capacity limit.
| The maximum node count in a Flannel cluster depends on VPC route table entries and the cluster capacity limit. The VPC route table supports 200 entries by default, up to 1,000 after a quota increase. Each node uses one entry, so a Flannel cluster supports up to 1,000 nodes.
|
Pods per node | Pods use node ENIs. The maximum pod count per node depends on the instance type and metrics such as the ENIs and the number of private IPv4 addresses per ENI.
For example, a Compute-optimized c7 instance (ecs.c7.4xlarge, 16 vCPUs, 32 GiB):
Although Compute-optimized c6 and Compute-optimized c7 instances have the same number of ENIs, a Compute-optimized c6 instance can run up to 140 pods in shared ENI mode because it has fewer private IPv4 addresses per ENI. See Calculate the pod quota per node. | The maximum pod count per node depends on the Number of Pods per Node parameter and the subnet mask of the Container CIDR Block.
For example, if the pod CIDR block of an ACK Pro cluster is 172.16.0.0/20, each node can run up to 256 pods and the cluster supports up to 16 nodes. Important The maximum node count in a Flannel cluster cannot be changed after creation. |
Pod CIDR block |
|
|
Network security |
|
|
IPv4/IPv6 dual-stack | Supports dual-stack networking. | Does not support dual-stack networking. Note ACK uses a modified Flannel plugin, not always in sync with the open-source community. See Flannel release notes. |
Static pod IP | Supports static IP addresses for pods. | Does not support static IP addresses for pods. |
Session persistence | Because load balancing backends connect directly to pods, session persistence ensures service availability even if backend pods change. | Load balancing backends use NodePort to connect to pods. If a backend pod is replaced, traffic is interrupted, which may cause service retries. |
Multi-cluster communication | Pods in different clusters can communicate if the required ports are open in security groups. | Not supported. |
Pod source IP preservation | When a pod accesses other VPC endpoints, its original IP is preserved as the source IP, simplifying auditing. | When a pod accesses other VPC endpoints, its source IP is replaced with the node IP. |
Next steps
Pod, service, and node CIDR blocks cannot be modified after cluster creation. Their sizes determine resource limits and affect deployment capacity. Separate CIDR blocks enable network-level resource isolation for access control and custom routing. Plan networks for ACK managed clusters before creating a cluster.
After network planning:
To use Terway, install the Terway CNI plugin during cluster creation.
To use Flannel, install the Flannel CNI plugin during cluster creation.
References
For cluster node limits and quota increases, see Quotas and limits.

