Failed to create pod sandbox: plugin type="calico" failed (add): ... (FailedCreatePodSandBox)
The kubelet couldn’t set up the pod’s network sandbox — almost always a CNI plugin problem or exhausted pod IPs.
Failed to create pod sandboxfailed to set up sandbox containerfailed to assign an IP address to containernetworkPlugin cni failed Meaning
Before containers start, the runtime creates a sandbox and asks the CNI (Calico, Cilium, Flannel, AWS VPC CNI) for an IP. Failures: CNI pods down, IP pool or ENI/subnet exhausted (EKS “failed to assign an IP address to container”), or stale CNI config.
Common causes
- CNI daemonset pod not running on the node
- IP address pool / subnet exhausted (EKS VPC CNI)
- CNI config/version mismatch after upgrade
- Node-level issue (iptables, kernel modules)
⚡ Quick fix
- Check CNI pods on that node
- On EKS check free IPs in the subnet and the max-pods per instance
- Restart the CNI pod / drain and replace the node
Detailed fix by platform
Kubernetes
- bash
kubectl get pods -n kube-system -o wide | grep -E 'calico|cilium|aws-node|flannel' kubectl describe pod web-0 | grep -A3 FailedCreatePodSandBox
How to diagnose
- CNI — Pod healthy on that node?
- IPs — Subnet free IPs, max pods
- Node — Only one node affected?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- actively refused it HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001)
- Can't connect from another host (bindIp 127.0.0.1) MongoDB: connection refused / timed out from a remote host — mongod bindIp defaults to 127.0.0.1
- Can't connect to Redis from another host (bind 127.0.0.1) Redis: Could not connect to Redis at 10.0.0.5:6379: Connection timed out
Most viewed in Kubernetes
- error converting YAML to JSON error converting YAML to JSON: yaml: line 12: did not find expected key
- ImagePullBackOff Kubernetes: ImagePullBackOff / ErrImagePull
- the object has been modified Operation cannot be fulfilled on deployments.apps "x": the object has been modified; please apply your changes to the latest version and try again
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 15 Oct 2026