簡體   English   中英

Jenkinsx - 由於連接拒絕錯誤,生產促進失敗

[英]Jenkinsx - Production promote failing due to connection refused error

我正在嘗試在GKE上構建CI / CD管道。 但是,由於連接拒絕錯誤,從暫存到生產的升級失敗了。

為了解決這個問題,我通過更新了exposecontroller的版本,參考了https://github.com/jenkins-x/jx/issues/469上建議的解決方案。 但仍然沒有解決。

我可以看到這樣的錯誤:

+ 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

有什么我想念的嗎? 我該如何解決這個問題? 提前致謝!

什么是生產git存儲庫上運行的管道的輸出?

如果你想嘗試從你的筆記本電腦本地推廣,你需要確保你的掌舵人有你的圖表博物館的遠程存儲庫,以便它可以找到你發布的圖表(依賴關系舵正在談論) env/requirements.yaml中列出的生產git存儲庫中的env/requirements.yaml

嘗試jx open以查看您的圖表博物館的URL然后運行

helm repo add myservices $ChartMuseumURL

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM