美文网首页
helm Get https://10.96.0.1:443/a

helm Get https://10.96.0.1:443/a

作者: 与诗小睡 | 来源:发表于2021-04-15 11:01 被阅读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

    相关文章

      网友评论

          本文标题:helm Get https://10.96.0.1:443/a

          本文链接:https://www.haomeiwen.com/subject/bzqllltx.html