【问题标题】:unable to add helm addon to minishift on mac无法将 helm 插件添加到 mac 上的 minishift
【发布时间】:2019-02-06 23:36:51
【问题描述】:

安装 minikube 并尝试添加 helm 插件
总是失败并显示消息
-- 应用插件 'helm':.. 应用插件时出错: Error execution command 'ssh command error:
命令: docker run --rm -v /home/docker:/root:z -v /var/lib/minishift/openshift.local.config:/var/lib/minishift/openshift.local.config:z --net =host --env KUBECONFIG=/var/lib/minishift/openshift.local.config/master/admin.kubeconfig --env HELM_HOST=localhost:8443 lachlanevenson/k8s-helm:v2.8.1 init
错误:退出状态 1
输出:创建 /root/.helm
创建 /root/.helm/repository
创建 /root/.helm/repository/cache
创建 /root/.helm/repository/local
创建 /root/.helm/plugins
创建 /root/.helm/starters
创建 /root/.helm/cache/archive
创建 /root/.helm/repository/repositories.yaml
添加带有 URL 的稳定存储库:https://kubernetes-charts.storage.googleapis.com
添加带有 URL 的本地存储库:http://127.0.0.1:8879/charts
$HELM_HOME 已在 /root/.helm 配置。
错误:安装错误:发布http://localhost:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments:拨打tcp 127.0.0.1:8080:getsockopt:连接被拒绝
':

minishift 状态表示 openshift 没有运行

小班状态
Minishift:跑步
个人资料:minishift
OpenShift:已停止
DiskUsage: ERR of (Mounted On: )
CacheUsage:1.638 GB(由 oc 二进制、ISO 或缓存图像使用)

我被困在这里。感谢任何帮助

【问题讨论】:

    标签: macos docker minishift kubernetes-helm


    【解决方案1】:

    http://localhost:8080 中的问题接缝,而 HELM_HOST=localhost:8443 应该设置 https 而不是普通的 http。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-23
    相关资源
    最近更新 更多