All Products
Search
Document Center

Container Service for Kubernetes:Terway Hybrid network plugin

Last Updated:Nov 02, 2026

Connecting a hybrid cloud node pool to an on-premises data center creates complex network topologies and cross-domain routing requirements beyond the capabilities of standard container network plugins. Terway Hybrid is designed for hybrid cloud node pools, so pods on cloud and on-premises nodes communicate within the cluster.

How it works

The following figure shows the overall network architecture of an ACK hybrid cloud node pool. The architecture consists of two main network domains: an Alibaba Cloud Virtual Private Cloud (VPC) and an on-premises data center. If you have multiple on-premises data centers or connect to third-party clouds, you may have more network domains. These network domains use a dedicated connection to establish Layer 3 private network connectivity. The ACK cluster in the VPC can use a standard network plugin, such as Flannel or Terway. The nodes in the on-premises data center must use the Terway Hybrid network plugin.

image

Prerequisites

  • An ACK managed Pro cluster that runs Kubernetes 1.33 or later.

  • If your cluster uses the Flannel network plugin, its version must be v0.15.1.23 or later.

  • A hybrid cloud node pool requires Elastic Compute Service (ECS) nodes in the cluster to deploy certain ACK management components. Three or more ECS nodes are recommended to ensure high availability.

Procedure

Step 1: Establish cross-cloud connectivity

Before you install the Terway Hybrid plugin, ensure that the network path between your cloud and on-premises environments is fully connected:

Step 2: Install the plugin

  1. Log on to the ACK console. In the left navigation pane, click Clusters.

  2. On the Clusters page, click the name of your cluster. In the left navigation pane, click Components and Add-ons .

  3. Install the terway-hybrid-controlplanecontrol plane component of the Terway Hybrid network solution. This component manages the network lifecycle of hybrid nodes.

    Parameter

    Description

    RemoteContainerCIDR

    The pod CIDR block for the hybrid cloud node pool. It cannot overlap with the existing service CIDR block, pod CIDR block, cloud node CIDR block, or on-premises node CIDR block.

    RemoteContainerCIDRMaskSize

    The subnet mask size for the pod CIDR block that is allocated to each node in the hybrid cloud node pool. For example, if you set this to 24, each node is allocated a /24 CIDR block, such as xxx.xxx.xxx.0/24, which provides 256 pod IP addresses.

    Enable Source Network Address Translation

    Specifies whether to translate the source IP address of pods in the hybrid cloud node pool to the node's IP address when they access addresses outside the cluster.

    If you disable this option, ensure that external network devices can resolve pod IP addresses. For more information, see Step 3: Expose pods to external networks.
  4. Install the terway-hybriddata plane component. No parameter configuration is required. The plugin automatically installs on new nodes that you add to the hybrid cloud node pool.

Step 3: Expose pods to external networks

If external network devices, such as those in the VPC or outside the cluster, need to directly access pods, configure BGP to dynamically advertise pod routes to your switches.

image