DEVOPS TRIBUNE ENGINEERING INTELLIGENCE FOR THE REAL WORLD

Kubernetes Networking & Gateway Guide

Kubernetes networking abstracts pod-to-pod communication, service discovery, and north-south ingress across dynamic node topologies. This hub groups deep-dive architecture guides and operational runbooks for CNI plugins, kube-proxy, eBPF, CoreDNS, Gateway API, and service mesh trade-offs.

Direct Answer: Kubernetes networking relies on flat pod-to-pod IP routing via CNI plugins, virtual Service IPs implemented by kube-proxy or eBPF, CoreDNS for cluster-local name resolution, and Gateway API or Ingress controllers for external HTTP/TCP traffic.

What do you need right now?

Quick Decision & Triage Matrix

Scenario / LayerPrimary FocusFirst Action
Pod-to-Pod across nodesCNI (Cilium / Calico / VPC CNI)Verify overlay/native routing and NetworkPolicy
Service discovery & VIPsClusterIP / Headless / EndpointSlicesVerify selector labels and readinessProbes
External HTTP/gRPC routingGateway API vs IngressUse Gateway API for role-oriented multi-team routing
mTLS & L7 traffic policyService Mesh (Istio / Cilium)Evaluate latency/complexity before adopting sidecars

All Published Guides (7)

Networking & Gateway advanced 24 min

Gateway API Migration from Ingress NGINX

Gateway API migration from Ingress NGINX: convert Ingresses with ingress2gateway, fix annotation gaps, run in parallel, and cut over with a DNS rollback.

Frequently Asked Questions

When should teams choose Gateway API over Kubernetes Ingress?

Choose Gateway API when you need role-based separation between cluster operators and application teams, native header/weighted traffic splitting, or standardized gRPC and TCP routing without vendor-specific Ingress annotations.

Why do Kubernetes DNS lookups sometimes add 5-second latency?

Default ndots:5 settings cause musl/glibc resolvers to search multiple cluster domains before querying external names, and conntrack table exhaustion or CoreDNS CPU throttling can trigger UDP packet drops.