Kubernetes networking is complex with several components including pod networking, service networking, and DNS. Pod networking requires assigning each pod a unique IP and enabling communication between pods using CNI plugins like Flannel or Calico which implement overlay networking. Service networking is done via kube-proxy using either iptables or IPVS mode, with IPVS being more scalable. DNS lookups are handled by CoreDNS to map service names to cluster IPs. Overall, Kubernetes networking takes work to understand but the ecosystem adapts quickly to issues.
8. ● 2 years full time Kubernetes
● CKA; part of the team that created CKAD
● Writing apps for Kubernetes
● User of Kubernetes (15-25 nodes)
● Amateur youtuber (really!)
https://dtdg.co/k8s_es
My journey with Kubernetes
27. 10.244.162.131 dev cali12d4a061371 scope link
10.244.143.129 via 192.168.0.2 dev eth0
Calico (BGP)
10.244.143.129 dev cali12d4bf881 scope link
10.244.162.131 via 192.168.0.1 dev eth0
Pod
10.244.162.131/32 10.244.143.129/32calixxxx calixxxx
Pod
10.244.162.131
192.168.0.1 192.168.0.2
BGP BGP
10.244.143.129
38. GROWS LINEARLY WITH PODS AND SERVICES
THERE IS NO ROOM FOR MORE FEATURES
FOR EVERY CHANGE, THE WHOLE TABLE NEEDS TO BE RESYNC
iptables mode (default)