0

我在 Linux 上,这里是系统详细信息: Linux maltserver 5.4.0-47-generic #51~18.04.1-Ubuntu SMP Sat Sep 5 14:35:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

尝试安装 gitlab-runner 时出现以下错误:

tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
Error: failed to download "gitlab/gitlab-runner" (hint: running `helm repo update` may help)
tania@maltserver:~$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. â Happy Helming!â
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
Error: failed to download "gitlab/gitlab-runner" (hint: running `helm repo update` may help)

还尝试了以下方法:

tania@maltserver:~$ helm search hub gitlab/gitlab-runner
URL                                                     CHART VERSION   APP VERSION     DESCRIPTION
https://hub.helm.sh/charts/gitlab/gitlab-runner         0.21.0-rc1      13.4.0-rc1      GitLab Runner
https://hub.helm.sh/charts/camptocamp/gitlab-ru...      0.12.6          12.6.0          GitLab Runner
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml https://hub.helm.sh/charts/gitlab/gitlab-runner
Error: file '/home/tania/.cache/helm/repository/gitlab-runner' does not appear to be a gzipped archive; got 'text/html; charset=utf-8'

任何有关成功安装 gitlab-runner 的帮助将不胜感激。谢谢你。

4

1 回答 1

0

现在工作,我必须这样做:

tania@maltserver:~$ helm repo add https://charts.gitlab.io
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
NAME: gitlab-runner
LAST DEPLOYED: Tue Sep 15 13:19:53 2020
NAMESPACE: gitlab
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Your GitLab Runner should now be registered against the GitLab instance reachable at: "https://gitlab.com/"

资源:

https://docs.gitlab.com/runner/install/kubernetes.html
于 2020-09-15T17:21:29.473 回答