ingress-nginx returns `503 Service Temporarily Unavailable` for one host while others work.
IntermediateTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer
Likely causes → The Ingress rule matched, but the backend Service has no ready endpoints (pods crashing, failing readiness, selector mismatch), or the Ingress references a wrong Service name/port.
Diagnose →
kubectl describe ingress myapp | grep -A3 Backend
kubectl get endpointslices -l kubernetes.io/service-name=myapp
kubectl -n ingress-nginx logs deploy/ingress-nginx-controller | grep -i 'endpoints\|myapp' | tail
The controller logs Service "ns/myapp" does not have any active Endpoint in this case.
Fix → Fix the pods/readiness or the Service reference (name and port.number/port.name in the Ingress backend).
Prevent → Use PodDisruptionBudgets and rolling update settings so a deploy never takes all endpoints away at once.
More on Containers, Kubernetes, IPv6 and packet captures
After someone ran `iptables -F` (or restarted firewalld), all Docker containers lost outbound connectivity.Intermediate`docker run -p 8080:80 myapp` starts fine, but `curl localhost:8080` returns `Connection reset by peer`.BeginnerTwo containers on the default bridge network can't reach each other by container name.Beginner`docker run -p 80:80 nginx` fails with `Bind for 0.0.0.0:80 failed: port is already allocated`.BeginnerA new Kubernetes node stays `NotReady` with `container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized`.IntermediateA Service returns `Connection refused` / nothing, and `kubectl get endpoints myapp` shows `<none>`.Beginner