Cannot create pods -Failed create pod sandbox.

I am not able to create any pods. The kubernetes  cluster is up and running all components but any pod i am trying to create are staying at Pending state. - 

Error message is when is try to describe the pod is following:

Warning FailedCreatePodSandBox 14m (x5 over 14m) kubelet, staging-core-04 Failed create pod sandbox.

Warning FailedSync 14m (x10 over 14m) kubelet, staging-core-04 Error syncing pod

Normal SandboxChanged 4m (x98 over 14m) kubelet, staging-core-04 Pod sandbox changed, it will be killed and re-created.

  • post-author-pic
    Terrence C
    09-11-2018

    Are you using our cloud server CKA instances? If so, be sure you are using the private IP addresses when creating your cluster and registering your nodes, the ports necessary for Kubernetes won't be open on the public IP/names of each node.

  • post-author-pic
    kulwant.admin
    09-12-2018

    Thanks Terrece for the reply. I was using old binaries of kubernetes. The problem was with cni network. The flannel pod on worker node was not healthy. So i downloaded current version of kubeadm and everything seems to work correctly.

  • post-author-pic
    kulwant.admin
    09-12-2018

    oops ... sorry I spelled your name incorrectly. 

  • post-author-pic
    Patrick S
    09-18-2018

    congrats!

Looking For Team Training?

Learn More