ALB IP mode versus instance mode on EKS: which should you use?
IntermediateProductionKubernetes & Service Networking in Production
Answer
IP mode registers pod IPs as targets: one fewer hop, no NodePort SNAT, accurate health checks per pod, and better balancing. It requires the VPC CNI. Instance mode sends to NodePorts and kube-proxy forwards, adding a hop and uneven balancing.
Use alb.ingress.kubernetes.io/target-type: ip, and add a pod readiness gate so rollouts wait for targets to be healthy in the ALB.
More on Kubernetes & Service Networking in Production
How do you expose an application on Kubernetes to the internet in production?BeginnerHow do you achieve graceful pod shutdown with no dropped requests?AdvancedHow do readiness, liveness and startup probes interact with traffic?BeginnerHow do you design default-deny NetworkPolicies without breaking DNS?IntermediateHow do you debug "pod cannot reach service" in Kubernetes?AdvancedHow do you scale CoreDNS and avoid DNS becoming an outage source?Advanced