From 0ef54dc5e1b90ce4185ca061cfbc67e6736c6006 Mon Sep 17 00:00:00 2001 From: changealice Date: Wed, 4 Jul 2018 16:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3helm=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E5=87=BA=E7=8E=B0Error:=20transport=20is=20closing=20(#248)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit thanks! --- docs/guide/jenkins.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/guide/jenkins.md b/docs/guide/jenkins.md index febc816..81a0e61 100644 --- a/docs/guide/jenkins.md +++ b/docs/guide/jenkins.md @@ -21,6 +21,17 @@ ``` helm install manifests/jenkins/ --name jenkins ``` +如果通过/etc/ansible/roles/helm/helm.yml安装的helm,安装过程会出现如下错误 + +``` bash +E0703 08:40:22.376225 19888 portforward.go:331] an error occurred forwarding 41655 -> 44134: error forwarding port 44134 to pod 5098414beaaa07140a4ba3240690b1ce989ece01e5db33db65eec83bd64bdedf, uid : exit status 1: 2018/07/03 08:40:22 socat[19991] E write(5, 0x1aec120, 3424): Connection reset by peer +Error: transport is closing +``` +请执行以下命令快速安装进行修复: +``` +helms install manifests/jenkins/ --name jenkins +``` + 由于初始化过程中,默认安装指定的插件,所以启动较慢,大概5-10分钟左右就可以启动完成了。 部分默认配置说明: