首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jenkinsx -由于连接被拒绝错误,生产升级失败

Jenkinsx -由于连接被拒绝错误,生产升级失败
EN

Stack Overflow用户
提问于 2019-04-17 09:28:14
回答 1查看 542关注 0票数 0

我正在尝试在GKE上构建CI/CD管道。但由于连接被拒绝错误,从暂存到生产的升级失败。

为了解决这个问题,我参考了https://github.com/jenkins-x/jx/issues/469上建议的解决方案,更新了exposecontroller的版本。尽管如此,它仍然没有得到解决。

我可以看到这样的错误:

代码语言:javascript
复制
+ jx step helm build

{"level":"warning","msg":"No $CHART_REPOSITORY defined so using the default value of: http://jenkins-x-chartmuseum:8080\n","time":"2019-04-17T01:17:40Z"}

{"level":"info","msg":"Adding missing Helm repo: chartmuseum.jenkins-x.io http://chartmuseum.jenkins-x.io\n","time":"2019-04-17T01:17:42Z"}

{"level":"info","msg":"Successfully added Helm repository chartmuseum.jenkins-x.io.\n","time":"2019-04-17T01:17:43Z"}

{"level":"info","msg":"Adding missing Helm repo: jenkins-x-chartmuseum:8080 http://jenkins-x-chartmuseum:8080\n","time":"2019-04-17T01:17:43Z"}

{"level":"info","msg":"Successfully added Helm repository jenkins-x-chartmuseum:8080.\n","time":"2019-04-17T01:17:43Z"}

error: failed to build the dependencies of chart '.': failed to run 'helm dependency build' command in directory '.', output: 'Hang tight while we grab the latest from your chart repositories...

...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):

    Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused

我是不是遗漏了什么?如何解决此问题?提前感谢!

EN

回答 1

Stack Overflow用户

发布于 2019-04-17 14:25:49

在生产git存储库上运行的管道的输出是什么?

如果你想尝试从你的笔记本电脑进行本地升级,你需要确保你的helm有你的图表博物馆的远程存储库,这样它就可以找到你发布的图表( helm所说的依赖项),这些图表列在生产git存储库中的env/requirements.yaml中。

尝试使用jx open查看图表博物馆的网址,然后运行

代码语言:javascript
复制
helm repo add myservices $ChartMuseumURL
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55718642

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档