forked fromlwolf/kubernetes-gitlab
- Notifications
You must be signed in to change notification settings - Fork15
Manifests to deploy GitLab on Kubernetes
License
NotificationsYou must be signed in to change notification settings
GitLab/kubernetes-gitlab
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Manifests to deploy GitLab on Kubernetes
Installation process described inblog
- gitlab-runner:v1.8.0
- gitlab:8.12.7
- postgresql:9.5-3
- redis:3.2.4 (official redis container)
- SSH is now available through 1022 service post.
- NGINX settings is now configurable with configmap nginx-settings-configmap.yml.Which currently sets body-size to 0 and increases timeouts to avoid timeouts.
# create gitlab namespace> $ kubectl create -f gitlab-ns.yml# create storage> $ kubectl create -f gitlab/storage.yml# deploy redis> $ kubectl create -f gitlab/redis-svc.yml> $ kubectl create -f gitlab/redis-storage.yml> $ kubectl create -f gitlab/redis-deployment.yml# deploy postgres> $ kubectl create -f gitlab/postgresql-svc.yml> $ kubectl create -f gitlab/postgresql-storage.yml> $ kubectl create -f gitlab/postgresql-deployment.yml# deploy gitlab itself> $ kubectl create -f gitlab/gitlab-svc.yml> $ kubectl create -f gitlab/gitlab-svc-nodeport.yml> $ kubectl create -f gitlab/gitlab-storage.yml> $ kubectl create -f gitlab/gitlab-config-storage.yml> $ kubectl create -f gitlab/gitlab-deployment.yml# deploy ingress controller> $ kubectl create -f ingress/default-backend-svc.yml> $ kubectl create -f ingress/default-backend-deployment.yml> $ kubectl create -f ingress/nginx-settings-configmap.yml> $ kubectl create -f ingress/configmap.yml> $ kubectl create -f ingress/nginx-ingress-lb.yml> $ kubectl create -f ingress/gitlab-ingress.yml
# deploy Miniokubectl create -f minio/minio-svc.ymlkubectl create -f minio/minio-deployment.yml# check that it's runningkubectl get pods --namespace=gitlab gitlab minio-2719559383-y9hl2 1/1 Running 0 1m# check logs for AccessKey and SecretKey> $ kubectl logs -f minio-2719559383-y9hl2 --namespace=gitlab+ exec app server /exportEndpoint: http://10.2.23.7:9000 http://127.0.0.1:9000AccessKey: 9HRGG3EK2DD0GP2HBB53SecretKey: zr+tKa6fS4/3PhYKWekJs65tRh8pbVl07cQlJfkWRegion: us-east-1Browser Access: http://10.2.23.7:9000 http://127.0.0.1:9000Command-line Access: https://docs.minio.io/docs/minio-client-quickstart-guide $ mc config host add myminio http://10.2.23.7:9000 9HRGG3EK2DD0GP2HBB53 zr+tKa6fS4/3PhYKWekJs65tRh8pbVl07cQlJfkWObject API (Amazon S3 compatible): Go: https://docs.minio.io/docs/golang-client-quickstart-guide Java: https://docs.minio.io/docs/java-client-quickstart-guide Python: https://docs.minio.io/docs/python-client-quickstart-guide #"auto">Editgitlab-runner/gitlab-runner-docker-configmap.yml
and fill in your runner token and minio credentials.# deploy configmap and runnner itself> $ kubectl create -f gitlab-runner/gitlab-runner-docker-configmap.yml> $ kubectl create -f gitlab-runner/gitlab-runner-docker-deployment.yml
About
Manifests to deploy GitLab on Kubernetes
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published