Kubernetes: Calico node failed to start

Created on 19 Oct 2017  ·  2Comments  ·  Source: kubernetes/kubernetes

Hi. I'm using kubernetes 1.8.1 and trying to make cluster with calico 2.6.2.
I configured everything same as doc says, but when I run kubeadm join on other machine, it keeps failing on running calico-node pod with CrashLoopBackOff status.
The first container (install-cni) of pod seems running well, and second container (calico-node) fails with following messages:

$ kubectl logs calico-node-zt9hd calico-node -n kube-system
Skipping datastore connection test
ERROR: Unable to access datastore to query node configuration
Terminating
Calico node failed to start

What am I doing wrong?

kinbug sicluster-lifecycle

Most helpful comment

I think you need to pass --pod-network-cidr=192.168.0.0/16 as outlined in https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

If that doesn't work, reopen this issue in a Calico repository, this is not a Kubernetes issue.
Thanks!

All 2 comments

@kubernetes/sig-cluster-lifecycle-bugs

I think you need to pass --pod-network-cidr=192.168.0.0/16 as outlined in https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

If that doesn't work, reopen this issue in a Calico repository, this is not a Kubernetes issue.
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jadhavnitind picture jadhavnitind  ·  3Comments

pwittrock picture pwittrock  ·  3Comments

errordeveloper picture errordeveloper  ·  3Comments

arun-gupta picture arun-gupta  ·  3Comments

ddysher picture ddysher  ·  3Comments