Interview Prep/Networking/Kubernetes Networking

Design pod egress with centralized inspection and per-team allow lists.

AdvancedScenarioKubernetes Networking
Answer

Situation read → You need identity-aware egress per namespace.

What I'd do →

  1. Use Cilium egress gateway or Istio egress gateway with per-namespace policies
  2. Enforce FQDN policies using CiliumNetworkPolicy toFQDNs
  3. Route egress through a central NAT and firewall with logging
  4. Give each team a policy through GitOps pull requests
  5. Alert on denied flows with Hubble

Why → Pod IPs are ephemeral, so egress rules must follow labels and names, not addresses.

Interview tip → Say audit logs of denied flows drive onboarding of new destinations.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking