Interview Prep/Networking/Kubernetes & Service Networking in Production

How would you design egress with stable IPs for Kubernetes workloads calling partner APIs?

AdvancedProductionKubernetes & Service Networking in Production
Answer

Route traffic from specific pods or namespaces through dedicated egress nodes in a subnet with a NAT gateway or EIPs, using Cilium Egress Gateway, Calico egress gateway, or a separate node group with taints and a dedicated route table. Share the EIP list with partners and keep spare EIPs to rotate.

Without this, pods egress from whichever node or NAT they happen to use, and IP allow-lists break during scaling.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes & Service Networking in Production