Creating the pod times failed create pod sandbox

Source: Internet
Author: User

Run the following command:

Kubectl Run Nginx2--image=nginx--replicas=2

Check the pod status as follows:

Kubectl Get all

View pod description information as follows:

Kubectl describe pod NGINX2-6DBF4CD9BC-MBTVH

View Log on to 172.16.91.211 node, view Kubelet logs

Journalctl-u kubelet-f

The error content is as follows:

May 05:43:30 Node2 kubelet[1605]: E0517 05:43:30.259329 1605 pod_workers.go:186] Error syncing pod ee01867e-59a0-11e 8-b784-000c29d0d632 ("Nginx-8586cf59-cvzbk_default (ee01867e-59a0-11e8-b784-000c29d0d632)"), skipping:failed to " Createpodsandbox "for" Nginx-8586cf59-cvzbk_default (ee01867e-59a0-11e8-b784-000c29d0d632) "with Createpodsandboxerror: "Createpodsandbox for pod \" Nginx-8586cf59-cvzbk_default ( ee01867e-59a0-11e8-b784-000c29d0d632) \ "Failed:rpc Error:code = Unknown desc = Failed to start sandbox container for pod \ "Nginx-8586cf59-cvzbk\": Error response from Daemon:shim Error:docker-runc not installed on system"


Resolution:

There's a problem installing Docker,

Log on to the 172.16.91.211 node,

Ln-s/usr/libexec/docker/docker-runc-current/usr/bin/docker-runc


Creating the pod times failed create pod sandbox

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.