Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 1 · Core Concepts · Port 1.14

Services: why pods need an address

Instagram
Your pod's IP will change. Never hardcode it. Use a Service.
You'll learn to

explain why pod IPs can't be trusted and what a Service gives you

Recap

  1. 1Pods change, the Service stays
  2. 2Selector → EndpointSlices
  3. 3ClusterIP · NodePort · LoadBalancer
Check yourself

How does a Service choose its pods?

1.14

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.

Words from this port