Summary
Understand how Kubernetes services provide stable endpoints for pods despite their dynamic nature. Explore the four service types—ClusterIP, NodePort, LoadBalancer, and ExternalName—and learn how labels and DNS enable reliable service discovery and access within a cluster.
We'll cover the following...
We'll cover the following...
Recap
Pods come and go. We do not have any guarantees about where they are running or how they can be reached.
- Services provide a stable endpoint for pods, so we generally never send requests directly to a pod but always through a service.
- The link between services and pods happens