Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Manifests to deploy GitLab on Kubernetes

License

NotificationsYou must be signed in to change notification settings

chakra-coder/kubernetes-gitlab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manifests to deploy GitLab on Kubernetes

Installation process described inblog

2016-11-24 Update #1 after post was published

Bump versions

  • gitlab-runner:v1.8.0
  • gitlab:8.12.7
  • postgresql:9.5-3
  • redis:3.2.4 (official redis container)

Change in ingress

  • 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.

TL;DR

Deploying GitLab itself

# create gitlab namespace> $ kubectl create -f gitlab-ns.yml# deploy redis> $ kubectl create -f gitlab/redis-svc.yml> $ kubectl create -f gitlab/redis-deployment.yml# deploy postgres> $ kubectl create -f gitlab/postgresql-svc.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-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

Deploying GitLab Runner

# 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp