https://www.cnblogs.com/linkenpark/p/8359216.html
kubectl apply -f 1.namespace.yaml
·
·
·
kubectl apply -f 7.deployment.yaml
- 1.kubectl patch svc nginx -n devops --patch-file=9.patch.nginx.lb.yaml
- 2.在nginx的pvc里新建一个tcp文件夹,把8.gitlab-ssh.tcp文件放进去
- 3.刷新nginx配置
kubectl exec -it -n gitlab gitlab-xxx -- bash
gitlab-ctl restart # 等待大概10分钟就能正常进入界面了,如果提示We're sorry. GitLab is taking too much time to respond.稍微等待一会