我试图将gitlab从marketplace部署到GKE (Google Kubernetes Engine)上。部署成功。
安装后,我尝试使用'helm list‘。但是,没有返回任何数据。

发布于 2019-11-08 00:36:06
是的,helm和marketplace部署之间的联系被打破了。
所以使用简单的helm install来安装gitlab。
下面是我用来安装的命令:
helm upgrade --install gitlab gitlab/gitlab --namespace gitlab ^
--timeout 600 ^
--set global.hosts.domain=xxxx.com ^
--set global.hosts.externalIP=xx.xx.xx.xx^
--set certmanager-issuer.email=xx@xxxx.com ^
--set global.email.from=xx@xxxx.com ^
--set global.smtp.address=smtp.xx.xx^
--set global.smtp.enabled=true ^
--set global.smtp.port=xxx^
--set global.smtp.authentication=plain ^
--set global.smtp.starttls_auto=true ^
--set global.smtp.user_name=xx@xxxx.com ^
--set global.smtp.password.key=password ^
--set global.smtp.password.secret=smtp-secret ^
--set global.email.reply_to=xx@xxxx.com ^
--set gitlab-runner.runners.privileged=true发布于 2019-10-30 01:29:59
在从GCP Marketplace安装了GitLab之后,我能够遵循这个documentation。
作为建议,一定要为它创建一个新的集群,以便可以正确地调度Tiller pod。
请记住,您可以使用以下命令检查po是否已正确部署: kubectl -n kube-system get po
当Tiller正在运行时,你需要安装Chart,然后你可以做一个'helm list‘。
https://stackoverflow.com/questions/58604493
复制相似问题