【问题标题】:helm install stable/gocd returns an errorhelm install stable/gocd 返回错误
【发布时间】:2019-04-12 23:00:46
【问题描述】:

安装 helm 后,我正在尝试安装 gocd 以进行容器化。

命令 helm install stable/gocd --name gocd --namespace gocd 抛出以下错误:

错误:获取https://10.96.0.1:443/api/v1/namespaces/kube-system/configmaps?labelSelector=OWNER%!D(MISSING)TILLER:拨号 tcp 10.96.0.1:443:i/o 超时

请帮助解决此问题。可能是什么错误?如何更正它以便通过 helm 安装 gocd

【问题讨论】:

标签: kubernetes go-cd kubernetes-helm


【解决方案1】:

安装 GoCD Helm 图表 Helm 是 Kubernetes 的包管理器。 Kubernetes 包称为图表。图表是 Kubernetes 的精选应用程序。

使用以下命令安装 GoCD Helm 图表:

helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm install stable/gocd --name gocd --namespace gocd

访问 GoCD 服务器 安装 GoCD helm chart 后,您应该能够从 Ingress IP 访问 GoCD 服务器。

Ingress IP 地址可以通过以下方式获取:

迷你酷贝

minikube ip  

其他

ip=$(kubectl get ingress --namespace gocd gocd-server -o jsonpath="{.status.loadBalancer.ingress[0].ip}")
echo "http://$ip"

GoCD 服务器首次启动可能需要几分钟时间。您可以使用以下命令检查 GoCD 服务器是否已启动:

kubectl get deployments --namespace gocd

对于 gocd-server,Available 列应该显示 1。

启动时的 GoCD 服务器将如下所示。

现在您已经成功访问​​了 GoCD 服务器,您需要配置 Kubernetes 弹性代理插件。

【讨论】:

    猜你喜欢
    • 2019-04-05
    • 2019-05-11
    • 1970-01-01
    • 2020-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-10
    • 2023-03-16
    相关资源
    最近更新 更多