Wednesday, May 27, 2026

Kubernetes Service Types Comparison Matrix

Feature / Metric ClusterIP NodePort LoadBalancer Ingress
OSI Layer Layer 4 (Transport) Layer 4 (Transport) Layer 4 (Transport) Layer 7 (Application)
Primary Purpose Internal cluster communication External access via Node IPs External access via Cloud LB HTTP/HTTPS routing rules
Accessibility Internal only External External External
Supports Headless? Yes (The only true headless) No (Requires a cluster IP) No (Requires a cluster IP) No (Routes to Services, not Pods)
How Headless Routes Requests DNS A-records return a list of all Pod IPs directly, bypassing kube-proxy. Not Applicable Not Applicable Not Applicable
Popular Implementation Tools kube-proxy, IPVS, CoreDNS kube-proxy, Cloud Firewalls AWS NLB/ELB, MetalLB, Azure LB NGINX, Traefik, Istio, Envoy

No comments:

Post a Comment

Fallacies of Distributed Computing

  The network is reliable; Latency is zero; Bandwidth is infinite; The network is secure ; Topology doesn't change; There is one adm...