法兰绒吊舱(k8z_install-cni)在新节点加入kubernetes集群时出现问题(v1.5.1)

时间:2017-01-12 04:30:27

标签: kubernetes flannel

我正在尝试使用kubeadm

将节点加入我的kubernetes集群

我遵循了tutorial

我的kubernetes版本是1.5.1

我从link

获得了法兰绒纱线

我在安装过程中没有遇到任何问题但是我加入了一个我可以看到的新节点:

[root@kub1 ~]# kubectl get pods --namespace kube-system
NAME                                 READY     STATUS             RESTARTS   AGE
dummy-2088944543-b18d7               1/1       Running            0          19h
etcd-kub1.local                      1/1       Running            0          19h
kube-apiserver-kub1.local            1/1       Running            0          19h
kube-controller-manager-kub1.local   1/1       Running            0          19h
kube-discovery-1769846148-zcxrx      1/1       Running            0          19h
kube-dns-2924299975-zbnjb            4/4       Running            0          19h
kube-flannel-ds-5ns9q                2/2       Running            1          19h
kube-flannel-ds-thssr                1/2       CrashLoopBackOff   13         44m
kube-proxy-9s15v                     1/1       Running            0          19h
kube-proxy-sfnl0                     1/1       Running            0          44m
kube-scheduler-kub1.local            1/1       Running            0          19h

我可以在广告连播描述中看到以下问题:

<invalid>     <invalid>       2       {kubelet kub2.local}                                    Warning FailedSync      Error syncing pod, skipping: failed to "StartContainer" for "install-cni" with CrashLoopBackOff: "Back-off 20s restarting failed container=install-cni pod=kube-flannel-ds-thssr_kube-system(322354fd-d925-11e6-a4aa-0050568da433)"

docker从容器中记录k8z_install-cni:

+ cp -f /etc/kube-flannel/cni-conf.json /etc/cni/net.d/10-flannel.conf
+ true
+ sleep 3600

问题:我该如何解决这个问题?

非常感谢

0 个答案:

没有答案