What are the basic Kubernetes networking rules?
BeginnerConceptKubernetes, Containers, MTU & Performance Basics
Answer
Every pod gets its own IP, pods can talk to all other pods without NAT, and nodes can talk to all pods. Services provide stable virtual IPs and DNS names in front of changing pod sets. These rules are implemented by a CNI plugin.
This flat model is why pod CIDRs must not overlap with your VPC or on-prem ranges.
More on Kubernetes, Containers, MTU & Performance Basics
What are the Service types in Kubernetes?BeginnerWhat is the difference between a Service and an Ingress?BeginnerHow does kube-proxy implement Services?AdvancedHow does DNS work for Services and pods in Kubernetes?IntermediateWhat is a CNI plugin and how do the main ones differ?IntermediateWhat are the trade-offs of AWS VPC CNI?Advanced