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.

  1. Events:
  2. Type Reason Age From Message
  3. ---- ------ ---- ---- -------
  4. Normal SandboxChanged 56m (x132 over 61m) kubelet Pod sandbox changed, it will be killed and re-created.
  5. 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

  • Posts: 16

    Nevermind !

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

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training