Container Network Interface

The Container Network Interface: a standard for plugins that give pods their network, such as Calico or Cilium.

In more detail

The container runtime calls the CNI plugin when a pod starts, and the plugin sets up the pod's network interface and addresses. NetworkPolicy is enforced by the CNI plugin, and some plugins ignore it, so check before trusting any policy.

Example

docker exec "$node" ls /etc/cni/net.d

Related terms

Taught in

References

Certification courses