Kubernetes NetworkPolicy blocking API gateway inbound traffic after policy update
Problem The API gateway service (gateway-prod) suddenly stopped receiving inbound HTTP requests after a routine NetworkPolicy update. The symptom manifested as 5xx errors from downstream services and connection timeouts observed by clients. Observed logs 2026-10-05T14:32:10.123Z kubelet[1234]: E0905 14:32:10.123456 1234 network_plugin.go:215] Failed to program iptables rules: iptables-restore v1.8.4: line 23: Invalid argument 2026-10-05T14:32:10.124Z kube-proxy[5678]: I0905 14:32:10.124567 … Read more