tencent cloud

Tencent Kubernetes Engine

Network Modes (Direct Connect Edition)

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-13 20:50:37
Diterjemahkan & Diperiksa oleh AI
In a Direct Connect scenario, a cluster with registered nodes may contain compute nodes from various network environments, such as IDC network environments and public cloud VPC network environments. In different TKE network modes (GlobalRouter, VPC-CNI, and Cilium-Overlay), there are certain limitations on Pod network usage on IDC registered nodes.

Cilium-Overlay Network Mode

For scenarios where a new TKE cluster is created to manage on-premises IDC nodes, the Cilium-Overlay network mode is recommended.


Mode Introduction

The Cilium-Overlay network mode is a container network plugin implemented by TKE based on Cilium VXLan. It provides a unified network plane at the container level, so that Pods do not need to perceive whether they are running on compute nodes in IDC or on compute nodes in the public cloud. This enables network management for external nodes registered to TKE clusters in distributed cloud scenarios.
The characteristics of this network mode are as follows:
Cloud nodes and registered nodes share the specified container network segment.
Container IP address ranges are dynamically assigned without occupying other IP address ranges in the VPC.
Build an Overlay network using the Cilium VXLan tunnel encapsulation protocol.
For more information about Cilium Overlay, see Introduction to Cilium-Overlay Mode.

Description of advantages

You can quickly connect and use the service without changing the basic network infrastructure in the IDC, avoiding impacts on existing IDC workloads caused by network configuration changes.
When IP address resources in the IDC are insufficient, IP addresses within the IDC cannot be assigned to workload containers. With the Overlay network mode, you can customize the container network segment without occupying IP address resources in the IDC.

Must-Knows

Using the Cilium VXLan tunnel encapsulation protocol incurs a performance overhead of less than 10%.
Pod IP addresses cannot be accessed directly outside the cluster.
Pods can access nodes outside the cluster, but Pod IP addresses are SNATed to the IP addresses of the nodes where the Pods reside.
Fixed Pod IP addresses are not supported.
Warning:
If your cluster uses Cilium-Overlay network mode, do not create super node pools at the same time to avoid Pod-to-Pod communication issues.
Reason: In Cilium-Overlay mode, Pods on regular or registered nodes encapsulate packets through VXLan, while Pod IPs in super node pools use VPC IPs and are not encapsulated through VXLan. As a result, these two types of Pods cannot directly communicate with each other. A typical scenario is that a Pod on a super node cannot access the CoreDNS service scheduled on a regular node.

GlobalRouter and VPC-CNI Modes




Mode Description

For existing cloud-based TKE clusters in GlobalRouter or VPC-CNI mode, adding IDC nodes to the existing clusters enables resource utilization. Pods on these IDC nodes only support the HostNetwork mode, reusing the host network of IDC nodes.

Must-Knows

HostNetwork reuses the host network. Pods listening on the same port should avoid being scheduled on the same host (via mechanisms such as taints and affinity); otherwise, the Pods will be prevented from entering the Running state.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan