Summary
In this chapter, we looked at how networking is handled in a Kubernetes cluster. We also learned how CNI supports dynamic networking resource setup, such as network configuration, IP address provisioning, and multi-host communication. We learned how CNI automatically configures networks between Pods using either an underlay or an overlay network.
We’ve also covered how to use Calico, Cilium, and Flannel CNI plugins to network the cluster. We discovered the advantages and disadvantages of each CNI. We also discovered that no single CNI vendor was capable of meeting all of a project’s requirements. Flannel is an excellent solution for easy setup and configuration. Calico has a superior performance because it employs a BGP underlay network. BPF is used by Cilium to create an application-layer filtering approach that is more focused on enterprise security. We’ve gone through some of the most important factors to consider when selecting a CNI Service.
...