Stage 7, Part 8 of 9, Kubernetes Networking Deep Dive
Text
PART 8: INTERVIEW PREPARATION
38. Junior-Level Questions
| Question | Expected Answer |
| What is CNI? | Plugin that configures Pod networking |
| What are the four Service types? | ClusterIP, NodePort, LoadBalancer, ExternalName |
| What is CoreDNS? | Cluster DNS server |
| What is kube-proxy? | Implements Service load balancing |
| What is NetworkPolicy? | Pod firewall (L3/L4) |
39. Mid-Level Questions
| Question | Expected Answer |
| CNI: Cilium vs Calico? | Cilium: eBPF. Calico: BGP/iptables |
| What is ndots:5? | Search-domain expansion for names with <5 dots |
| What is the 5-second DNS timeout? | conntrack UDP race condition |
| How does NodeLocal DNSCache help? | Local cache, bypasses conntrack |
| What is Gateway API? | Successor to Ingress |
40. Senior-Level Questions
| Question | Expected Answer |
| How do you debug "no endpoints"? | Check selector vs labels |
| How do you implement default deny? | Empty podSelector + policyTypes |
| What is kube-proxy replacement? | eBPF service routing (Cilium) |
| How do you migrate Ingress to Gateway API? | Deploy controller, create Gateway, HTTPRoute |
| How do you handle IP exhaustion? | Prefix delegation, expand CIDR |
41. Staff/Principal Questions
| Question | Expected Answer |
| Design a zero-trust network architecture. | Default deny + L7 policies + mTLS + observability |
| How do you choose a CNI? | Performance, policy, cloud integration, eBPF |
| How do you migrate from Calico to Cilium? | Parallel install, migrate policies, cutover |
| How do you handle multi-cluster networking? | Cluster Mesh, Submariner, global services |
| How do you debug cluster-wide networking? | Check CNI, CoreDNS, kube-proxy, NetworkPolicy |
1:1 copy of the class Google Doc, code in code blocks.