市场上的GitLab部署没有掌控权

时间:2019-10-29 09:24:11

标签: gitlab google-kubernetes-engine google-apps-marketplace

我正在尝试将gitlab从市场部署到GKE(Google Kubernetes Engine)上。部署成功。

安装后,我尝试使用“头盔列表”。但是,没有返回数据。 enter image description here

2 个答案:

答案 0 :(得分:0)

从GCP Marketplace安装GitLab之后,我可以遵循此documentation

作为建议,请确保为其创建一个新集群,以便可以正确安排Tiller吊舱。

请记住,您可以使用以下命令检查Pod是否正确部署: kubectl -n kube-system获取po

当分iller运行时,您需要安装Chart,然后可以做一个'helm list'。

答案 1 :(得分:0)

是的,掌舵和市场部署之间的联系已断开。

因此,请使用普通头盔安装程序来安装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
相关问题