我用this tutorial建立kubernetes羣集上我的覆盆子3.Kubernetes上Rasperry裨KUBE絨布CrashLoopBackOff和KUBE DNS RPC錯誤代碼= 2
我隨後直到絨布由設置的說明:
curl -sSL https://rawgit.com/coreos/flannel/v0.7.0/Documentation/kube-flannel.yml | sed "s/amd64/arm/g" | kubectl create -f -
我得到kubectl get po --all-namespaces
以下錯誤信息:
kube-system etcd-node01 1/1 Running
0 34mkube-system kube-apiserver-node01 1/1 Running
0 34mkube-system kube-controller-manager-node01 1/1 Running
0 34mkube-system kube-dns-279829092-x4dc4 0/3 rpc error: code = 2 desc = failed to start container "de9b2094dbada10a0b44df97d25bb629d6fbc96b8ddc0c060bed1d691a308b37": Error response from daemon: {"message":"cannot join network of a non running container: af8e15c6ad67a231b3637c66fab5d835a150da7385fc403efc0a32b8fb7aa165"}
15 39mkube-system kube-flannel-ds-zk17g 1/2
CrashLoopBackOff
11 35mkube-system kube-proxy-6zwtb 1/1 Running
0 37mkube-system kube-proxy-wbmz2 1/1 Running
0 39mkube-system kube-scheduler-node01 1/1 Running
有趣的是,我有同樣的問題,用另一個教程在筆記本電腦上安裝kubernetes與法蘭絨。
版本詳情請看這裏:
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.3", GitCommit:"0480917b552be33e2dba47386e51decb1a211df6", GitTreeState:"clean", BuildDate:"2017-05-10T15:48:59Z", GoVersion:"go1.8rc2", Compiler:"gc", Platform:"linux/arm"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.3", GitCommit:"0480917b552be33e2dba47386e51decb1a211df6", GitTreeState:"clean", BuildDate:"2017-05-10T15:38:08Z", GoVersion:"go1.8rc2", Compiler:"gc", Platform:"linux/arm"}
任何建議,這可能幫助?