Services and networking, topic 19 of 61
The networking model
Kubernetes asks for a flat network: each Pod has its own IP, and any Pod can reach any other on any node without address translation. It does not build that network itself. A CNI plugin, such as Calico, Cilium or Flannel, wires up each Pod's interface and the routes between nodes.
Containers in one Pod share its IP and talk over localhost. Knowing which layer does what, the CNI plugin for Pods and kube-proxy or its replacement for Services, is most of debugging a network problem.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Cluster networkingOfficial
- Services, load balancing and networkingOfficial