CNI Architecture and Operation

CNI Architecture and Operation An architecture diagram generated by Archify. API Server · delivers Pod spec · Kubernetes Components API Server delivers Pod spec kubelet · node agent · Kubernetes Components kubelet node agent Container Runtime · Kubernetes Components Container Runtime CNI Plugin · configures network interfaces · CNI Plugin CNI Plugin configures network interfaces IPAM Plugin · IP allocation & management · CNI Plugin IPAM Plugin IP allocation & management Network Configuration · interfaces & routes · CNI Plugin Network Configuration interfaces & routes IP Pool · e.g. 10.244.0.0/24 · Architecture component IP Pool e.g. 10.244.0.0/24 Pod Network · pod-to-pod connectivity · Architecture component Pod Network pod-to-pod connectivity Pod creation 1. Create container 2. Network setup request 3. IP allocation request 4. Allocate IP 5. Network setup 6. Apply network config Kubernetes Components CNI Plugin Legend Kubernetes / CNI component IP address store Network