Services
A Service exposes an application running on a set of pods through a single, stable IP address. Because pods are frequently restarted or recreated, their IP addresses can change — the Service IP remains constant and distributes incoming traffic across all available pods.Ingress
Ingress defines how external requests should reach services inside the cluster. A path like/login maps to the authentication service — when traffic arrives at example.com/login, Ingress routes it to that service.
External traffic reaches an application through three Kubernetes components:
- Ingress that routes traffic from external networks to services.
- A Service that routes traffic to pods.
- Pods with containers running the application.