This document provides an overview of Kubernetes networking concepts including:
- Pods share the same network namespace so containers within a Pod can communicate via loopback, while different Pods each get their own IP address.
- Services provide load-balancing to Pods through labels and selectors, with a single IP/port exposed for a set of Pods. This includes options for east-west (Pod-to-Pod) and north-south (external access) traffic.
- Ingress controllers provide layer 7 routing and load-balancing for external access to Services within a cluster.
- Network policies allow restricting traffic to Pods using selectors and rules for ingress sources and egress destinations.
Related topics: