Search Blog

Knowledge · Cloud
Cloud Infrastructure and Kubernetes — From Deployment to Operations · 2 / 6

How Requests Reach a Service: ALB, NLB and Pod IPs

Where stable service addresses, public entry points and L4/L7 routing differ

A practical comparison of Kubernetes Service routing, ALB/NLB placement and shared entry-point failure risks.

A Pod can be healthy while a website remains unreachable. Running the application and routing an external request to it are different steps.

Stable access to replaceable Pods

Pod IPs can change when workloads are replaced. A Kubernetes Service exposes a stable logical endpoint for a selected set of Pods. Ingress expresses HTTP(S) host- and path-based rules, which require a controller or another implementation.

Namespaces scope Services and Pods logically; they do not automatically allocate separate subnets or restrict network traffic.

Multiple domains can share one entry point

An ALB can inspect HTTP Host headers and request paths to direct shop.example.com and api.example.com to different backends. This can remove the need for a dedicated public entry point per service.

It does not mean that every ALB has exactly one public IP. Address allocation, fixed-IP support and Floating IP terminology vary between cloud providers.

ALB and NLB serve different purposes

ALBNLB
Mainly application-layer HTTP routingMainly transport-layer IP, port and protocol forwarding
Host- and path-based decisionsL4 connection distribution
May be public or internalMay be public or internal

An ALB alone can route multiple websites. An NLB becomes relevant for transport-level functions or fixed-address requirements. AWS explicitly supports NLB → ALB. An ALB → internal NLB design needs provider-specific target support; it is not a universal reverse of the AWS pattern.

Several domains sharing an entry point also share its failure exposure. Multiple IP addresses do not automatically guarantee independent fault paths. Choose based on routing requirements and failure boundaries, not just the number of public addresses.

References

CloudIT infrastructureKubernetesServiceIngressALBNLB
Connected projects
Cloud Infrastructure and Kubernetes — From Deployment to Operations · 2 / 6 · View series ↗