Back to Glossary
Networking

What is CNI (Container Network Interface)?

A specification and plugins for configuring network interfaces in Linux containers.

CNI (Container Network Interface) is a standard interface between container runtimes and network plugins. When Kubernetes creates a pod, it calls the CNI plugin to set up the pod's network interface, assign an IP, and configure routing. Popular CNI plugins include Calico, Cilium, Flannel, and AWS VPC CNI. Your choice of CNI affects performance, network policy support, and encryption capabilities.

Test your knowledge of CNI (Container Network Interface) and 130 other DevOps concepts