← Kubernetes learning path
Kubernetes · Module 4 of 10

Services and networking

Expose pods with Services and Ingress.

📖 Key ideas

  1. Pods get IPs that change; Services give a stable address.
  2. ClusterIP: internal only (default).
  3. NodePort and LoadBalancer expose services externally.
  4. Ingress routes HTTP(S) by host/path to services.
  5. Cluster DNS lets pods reach services by name.
💡 Real-life example: A Service is a reception desk number that stays the same even when staff (pods) change.
ServiceStable endpoint for pods
ClusterIPInternal-only service
LoadBalancerCloud load balancer service
IngressHTTP routing into the cluster