[Kubernetes (K8S)] Helm install GitLab for software development and deployment, and project management within Kubernetes (K8S)
GitLab
GitLab is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab on your own servers, in a container, or on a cloud provider.
GitLab is a fully integrated software development platform that enables your team to be transparent, fast, effective, and cohesive from discussion on a new idea to production, all on the same platform.
GitLab is a Git-based platform that integrates a great number of essential tools for software development and deployment, and project management:
-
Hosting code in repositories with version control.
-
Tracking proposals for new implementations, bug reports, and feedback with a fully featured Issue Tracker.
-
Organizing and prioritizing with Issue Boards.
-
Reviewing code in Merge Requests with live-preview changes per branch with Review Apps.
-
Building, testing, and deploying with built-in Continuous Integration.
-
Deploying personal and professional static websites with GitLab Pages.
-
Integrating with Docker by using GitLab Container Registry.
-
Tracking the development lifecycle by using GitLab Value Stream Analytics.
-
Provide support with Service Desk.
-
Export issues as CSV.
This article is about how to use Helm to deploy GitLab on Kubernetes (K8S).
Prerequisites
-
Kubernetes (K8S)
Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.For more information about installing and using Kubernetes (K8s), see the Kubernetes (K8s) Docs.
-
Helm
Helm is the best way to find, share, and use software built for Kubernetes.For more information about installing and using Helm, see the Helm Docs.
Installation
Custom Values.yaml
Remember to replace content within {{ }}
with your prefer values.
1 | # values.yaml |
Install by Helm
Helm install gitlab into gitlab namespace.
1 | crate namespace: |
See Helm release about gitlab.
1 | helm list --namespace gitlab |
See pods about gitlab.
1 | kubectl get pods -n gitlab |
Then, you can visit gitlab server with https://gitlab-{ .Values.global.hosts.domain }}
.
References
[1] GitLab cloud native Helm Chart | GitLab - https://docs.gitlab.com/charts/
[2] Quick Start Guide | GitLab - https://docs.gitlab.com/charts/quickstart/index.html
[3] GitLab Docs | GitLab - https://docs.gitlab.com/ce/README.html