Networking¶
How traffic actually moves in a Kubernetes cluster: the flat-network model every CNI plugin has to implement, how Services and Ingress expose workloads, how NetworkPolicy restricts traffic, and how DNS ties names to IPs underneath all of it.
If you already know how Services and Ingress work and just need storage details, skip ahead to Storage.
Read in this order¶
- Cluster Networking Model — the flat-network requirement, what a CNI plugin provides, pod-to-pod vs. pod-to-service paths
- Services Deep Dive — all four Service types, headless Services, how kube-proxy implements them, EndpointSlices, session affinity
- Ingress and Ingress Controllers — the Ingress resource vs. the controller that actually implements it, path/host routing, TLS with cert-manager
- Network Policies — the default-allow-all reality, default-deny patterns, ingress/egress rules
- DNS and CoreDNS — CoreDNS architecture, Service/Pod DNS naming, debugging DNS from a throwaway pod
- CNI Plugins — Calico, Flannel, Cilium, and Weave compared at a decision-making level
Ingress needs a controller
The single most common networking surprise: applying an Ingress manifest does nothing on its own. It requires an Ingress controller (nginx, Traefik, etc.) already running in the cluster to actually watch and act on it — see Ingress and Ingress Controllers.
Next¶
Once traffic reaches your pods correctly, continue to Storage for how those pods keep data.