You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. What kops version are you running? The command kops version, will display
this information.
Version 1.11.0-alpha.1 (git-bac89b8)
2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.
The issue seems to be the comma after "type": "k8s", so I edited this file locally with nano on a master node. This then made that master node healthy.
I then edited the file with kubectl -n kube-system edit cm calico-config to remove the comma.
Then did a rolling-update of the cluster which fixed everything.
1. What
kops
version are you running? The commandkops version
, will displaythis information.
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
Then added
crossSubnet: true
to the calico network before applying.5. What happened after the commands executed?
This cluster resources are provisioned but masters never become ready and nodes never join the cluster.
6. What did you expect to happen?
New cluster to start with calico running ready to start putting deployments onto. You know, the good stuff.
7. Please provide your cluster manifest.
See create output from above.
8. Debbugging.
When trying to debug the issue I looked at the kubelet logs with:
journalctl -u kubelet.service
. This was showing the following lines many many times.I then looked at
ls /etc/cni/net.d/
Then the file where there was an error
cat /etc/cni/net.d/10-calico.conflist
The issue seems to be the comma after
"type": "k8s",
so I edited this file locally with nano on a master node. This then made that master node healthy.I then edited the file with
kubectl -n kube-system edit cm calico-config
to remove the comma.Then did a rolling-update of the cluster which fixed everything.
9. Anything else do we need to know?
fix: I believe that removing the comma on here will do the trick: https://github.com/kubernetes/kops/blob/master/upup/models/cloudup/resources/addons/networking.projectcalico.org/k8s-1.7-v3.yaml.template#L39
workaround: follow the steps above after the cluster has started to fix the issue.
The text was updated successfully, but these errors were encountered: