Kubernetes Container Networking Interface
Contents
Network Namespaces
CNI(Container Network Interface) in CRI(Container Runtime Interface)
BRIDGE
Command
|
|
Bridge Process
CRI(Container Runtime Interface) Products Process
CNM(Container Network Model) for Docker
Docker
CNM is CNI of docker.
CNM is different with others CNI.
CNM is different with others CNI.
Models
Docker Network
|
|
Bridge
|
|
CNI(Container Network Interface) Products
CNI in Kubernetes
CNI Config in kubelet
Option | Description | Default | Example |
---|---|---|---|
–network-plugin | Plugin | cni | cni |
–cni-conf-dir | Plugin config directory | /etc/cni/net.d | /etc/cni/net.d |
–cni-bin-dir | Plugin binary directory | /opt/cni/bin | /opt/cni/bin |
Check Running CNI Configuration
|
|
Check CNI Plugins
|
|
|
|
Check CNI Config Files
|
|
|
|
Check Config File
|
|
|
|