- 環(huán)境安裝好后郭卫,重啟過服務(wù)砍聊,導(dǎo)致helm list提示如下錯(cuò)誤:
Error: Get https://10.96.0.1:443/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%!D(MISSING)TILLER: dial tcp 10.96.0.1:443: i/o timeout
- 將tiller的pod遷移到master節(jié)點(diǎn)
#去除master節(jié)點(diǎn)的污點(diǎn)
kubectl taint nodes master node-role.kubernetes.io/master:NoSchedule-
#master 打標(biāo)簽
kubectl label nodes master role=master
#編輯tiller的deployment贰军,在container字段上添加nodeSelector蟹肘,選擇master節(jié)點(diǎn)
kubectl edit deployment tiller-deploy -n kube-system