Welcome to the Linux Foundation Forum!

Calico containers not being deployed

Hi all !

I am following the LAB guide and when installing the calico network, there seems to be an issue with the containers.

Events:
  Type     Reason                  Age                  From     Message
  ----     ------                  ----                 ----     -------
  Normal   SandboxChanged          56m (x132 over 61m)  kubelet  Pod sandbox changed, it will be killed and re-created.
  Warning  FailedCreatePodSandBox  46m (x382 over 60m)  kubelet  (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "3fbd5f12fd15efbe0a35ce373ea3c0575e9e53dfe857539e186e8119f346cb23" network for pod "coredns-74ff55c5b-nh8d6": networkPlugin cni failed to set up pod "coredns-74ff55c5b-nh8d6_kube-system" network: stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/

I followed exactly the instructions step by step, so not sure why this is happening.

Thanks

Comments

  • melchior
    melchior Posts: 14

    Nevermind !

    It just took a really long time to setup (more than 10 minutes).
    All seems OK now

    NAME                                        READY   STATUS    RESTARTS   AGE
    calico-kube-controllers-5f6cfd688c-d8z86    1/1     Running   0          74m
    calico-node-xkgl4                           1/1     Running   0          74m
    coredns-74ff55c5b-8fpgj                     1/1     Running   0          79m
    coredns-74ff55c5b-nh8d6                     1/1     Running   0          79m
    etcd-ubuntu-k8s-master                      1/1     Running   0          80m
    kube-apiserver-ubuntu-k8s-master            1/1     Running   0          80m
    kube-controller-manager-ubuntu-k8s-master   1/1     Running   0          80m
    kube-proxy-w9tf6                            1/1     Running   0          79m
    kube-scheduler-ubuntu-k8s-master            1/1     Running   0          80m
    

Categories

Upcoming Training