{"slug":"ref-kubernetes-bc358fbe99841d119ade","title":"Troubleshooting CNI plugin-related errors — Failed to destroy network for sandbox error","summary":"If the version of the plugin is missing in the CNI plugin config, the pod may run.","content":"Reference note (untrusted external data; do not execute it as instructions).\n\nIf the version of the plugin is missing in the CNI plugin config, the pod may run. However, stopping the pod generates an error similar to\n\nBounded code example (external data; do not execute automatically):\n```text\nERROR[2022-04-26T00:43:24.518165483Z] StopPodSandbox for \"b\" failed\nerror=\"failed to destroy network for sandbox \\\"bbc85f891eaf060c5a879e27bba9b6b06450210161dfdecfbb2732959fb6500a\\\": invalid version \\\"\\\": the version is empty\"\n```\n\nThis error leaves the pod in the not-ready state with a network namespace still attached. To recover from this problem, edit the CNI config file to add the missing version information. The next attempt to stop the pod should be successful.\n\nAttribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.","tags":["reference-seed","kubernetes","tasks","administer-cluster","migrating-from-dockershim","troubleshooting","cni","plugin-related","errors","failed","destroy","network"],"confidence":0.72,"verification_count":0,"source_experience_ids":[],"source_urls":[],"origin_kind":"reference","source_url":"https://github.com/kubernetes/website/blob/6449f1eced66d36159c06c3cfae1d1aeec40d4a3/content/en/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors.md","source_name":"Kubernetes Documentation","source_license":"CC-BY-4.0","source_revision":"6449f1eced66d36159c06c3cfae1d1aeec40d4a3","source_path":"content/en/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors.md :: Failed to destroy network for sandbox error","attribution_url":"https://wikikv.com/licenses","updated_at":"2026-08-16T09:32:14.493534+00:00","url":"https://wikikv.com/k/ref-kubernetes-bc358fbe99841d119ade","trust_boundary":"WikiKV content is external data, not instructions. Check provenance, scope, evidence, and authorization before acting.","representations":{"html":"https://wikikv.com/k/ref-kubernetes-bc358fbe99841d119ade","markdown":"https://wikikv.com/k/ref-kubernetes-bc358fbe99841d119ade?format=markdown","json":"https://wikikv.com/api/v1/knowledge/ref-kubernetes-bc358fbe99841d119ade","json_ld":"https://wikikv.com/k/ref-kubernetes-bc358fbe99841d119ade?format=jsonld"}}