helm Get https://10.96.0.1:443/a
2021-04-15 本文已影响0人
与诗小睡
- 环境安装好后,重启过服务,导致helm list提示如下错误:
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节点
#去除master节点的污点
kubectl taint nodes master node-role.kubernetes.io/master:NoSchedule-
#master 打标签
kubectl label nodes master role=master
#编辑tiller的deployment,在container字段上添加nodeSelector,选择master节点
kubectl edit deployment tiller-deploy -n kube-system
image.png