Baidu Cloud CNI plugin implement an interface between CNI enabled Container Orchestrator and Baidu Cloud Network Infrastructure.
These instructions will get you a copy of the project up and running on your environment for development and testing purposes. See installing for notes on how to deploy the project on a Baidu Cloud CCE cluster.
A healthy CCE kubernetes cluster. See documents for creating a CCE cluster.
There are 2 components:
- cce-network-v2: The v2 version of the container network has been optimized for the internal state and availability of the network. Provides network modes such as
VPC-ENI
andVPC-Route
that are more suitable for BCE Cloud. - eip-operator: Assign EIP directly to Pod to help Pod connect to the Internet directly
VPC-ENI provides a container network originating from BCE Cloud, where container addresses and node addresses use the same network segment.
The VPC-Route) mode utilizes the custom routing rule capability provided by VPC to make the virtual network address segment of the container accessible to the entire VPC.
Please go through CNI Spec to get some basic understanding of CNI driver before you start.
- Recommended linux kervel version >= 5.10
- Gloang version >= 1.21
- k8s version >= 1.20
Please create an issue in issue list. Contact Committers/Owners for further discussion if needed.