FailedCreatePodSandBox Kubernetes Origin: Platform & cloud OSI layer 7 · Application Last updated 15 Oct 2026

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.

Exact message you may see Failed to create pod sandboxfailed to set up sandbox containerfailed to assign an IP address to containernetworkPlugin cni failed
Seen on: Kubernetes

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

  1. Check CNI pods on that node
  2. On EKS check free IPs in the subnet and the max-pods per instance
  3. Restart the CNI pod / drain and replace the node

Detailed fix by platform

Kubernetes

  1. 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

  1. CNI — Pod healthy on that node?
  2. IPs — Subnet free IPs, max pods
  3. 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:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

actively refused it — HttpRequestException: No connection could be made because the target machine actively refused it (localhost:5001) (.NET)actively refused itCan'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 (MongoDB)Can't connect from an…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 (Redis)Can't connect to Redi…CannotPullContainerError — ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried (AWS)CannotPullContainerEr…Cloud NAT — Cloud NAT: OUT_OF_RESOURCES dropped connections (port exhaustion) (Google Cloud / Firebase)Cloud NATdefault backend - 404 — Ingress returns "404 Not Found" / "default backend - 404" (ingress-nginx) (Kubernetes)default backend - 404DNS in pod — DNS not working inside a Kubernetes pod (could not resolve host / nslookup: can't resolve) (Kubernetes)DNS in podEvicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)EvictedFailedCre…

Explore the map of this error Full error map →

🧠 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.