【发布时间】:2016-10-05 11:15:45
【问题描述】:
尝试了几个选项来解决 weave-net (How to fix weave-net CrashLoopBackOff for the second node?) 的问题,我决定尝试使用 calico 而不是 weave-net。 kubernetes 的文档告诉我只需要一个或另一个。该命令(根据此处的文档https://github.com/projectcalico/calico-containers/tree/master/docs/cni/kubernetes/manifests/kubeadm)失败:
vagrant@vm-master:~$ sudo kubectl create -f https://github.com/projectcalico/calico-containers/blob/master/docs/cni/kubernetes/manifests/kubeadm/calico.yaml
yaml: line 6: mapping values are not allowed in this context
我做错了什么?是已知问题吗?我该如何修复/解决它?
【问题讨论】: