Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cello-agent
command
|
|
|
cello-cli
command
|
|
|
cello-cni
command
|
|
|
launcher/cilium
command
|
|
|
pkg
|
|
|
cni
Package cni contains all the method and types used by cello-cni, which handles CNI calls from runtime, setup/teardown networks for pod sandboxes.
|
Package cni contains all the method and types used by cello-cni, which handles CNI calls from runtime, setup/teardown networks for pod sandboxes. |
|
cni/driver
Package driver include all the data path driver supported by cello, currently cello uses plain ENI driver for exclusive ENI mode, IPVlan driver for shared ENI with multi IP, veth driver for the fastpath of branch-trunk ENI mode.
|
Package driver include all the data path driver supported by cello, currently cello uses plain ENI driver for exclusive ENI mode, IPVlan driver for shared ENI with multi IP, veth driver for the fastpath of branch-trunk ENI mode. |
|
cni/plugins/cello
Package cello is the VPC-CNI command handler.
|
Package cello is the VPC-CNI command handler. |
|
deviceplugin
Package deviceplugin implement utility k8s device plugin of VPC-ENI resources.
|
Package deviceplugin implement utility k8s device plugin of VPC-ENI resources. |
|
provider/volcengine/cellohelper/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
provider/volcengine/ec2/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
provider/volcengine/metadata/mock
Package mock_metadata is a generated GoMock package.
|
Package mock_metadata is a generated GoMock package. |
|
utils/logger
Package logger is the CNI logger interface, using logrus
|
Package logger is the CNI logger interface, using logrus |
|
utils/sysctl
Package sysctl allows to change kernel parameters at runtime.
|
Package sysctl allows to change kernel parameters at runtime. |
Click to show internal directories.
Click to hide internal directories.
In the ENI-Multi-IP mode, Cello assigns multiple secondary private IPs under the secondary ENI to multiple Pods to achieve higher deployment density. The number of Pods on ECS depends on instance type (
In exclusive mode, Cello assigns the secondary ENI directly to the Pod, pulls the secondary ENI into the Pod's NetNs and uses the primary IP of the secondary ENI for communication. From the perspective of VPC, all Pods and Nodes are the same. Limited by the number of secondary ENIs that can be attached on the ECS, the Pod deployment density in this mode is much lower. In addition to communicating through VPC, Pod also can communicate with its Node through the local