A `type: LoadBalancer` Service stays with `EXTERNAL-IP <pending>` forever.
BeginnerTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer
Likely causes → No controller can provision a load balancer: a bare-metal/kind/minikube cluster without MetalLB, a missing or broken AWS Load Balancer Controller / cloud controller manager, missing IAM permissions, or subnets not tagged for LB discovery.
Diagnose →
kubectl describe svc myapp | tail -20 # events show the controller error
kubectl -n kube-system logs deploy/aws-load-balancer-controller | tail
aws ec2 describe-subnets --filters Name=tag:kubernetes.io/role/elb,Values=1 --query 'Subnets[].SubnetId'
Fix → Install MetalLB (bare metal) or the cloud's controller, fix its IAM role (IRSA/Pod Identity), and tag public subnets kubernetes.io/role/elb=1 (private: kubernetes.io/role/internal-elb=1).
Prevent → Include the LB controller and subnet tags in cluster provisioning code and smoke-test a LoadBalancer Service on every new cluster.
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