46 lines
2 KiB
Markdown
46 lines
2 KiB
Markdown
# Installing GitLab on Kubernetes
|
|
> These Helm charts are in beta. GitLab is working on a [cloud-native](http://docs.gitlab.com/omnibus/package-information/cloud_native.html) set of [Charts](https://gitlab.com/charts/helm.gitlab.io) which will replace these.
|
|
|
|
> Officially supported cloud providers are Google Container Service and Azure Container Service.
|
|
|
|
The easiest method to deploy GitLab in [Kubernetes](https://kubernetes.io/) is
|
|
to take advantage of the official GitLab Helm charts. [Helm] is a package
|
|
management tool for Kubernetes, allowing apps to be easily managed via their
|
|
Charts. A [Chart] is a detailed description of the application including how it
|
|
should be deployed, upgraded, and configured.
|
|
|
|
The GitLab Helm repository is located at https://charts.gitlab.io.
|
|
You can report any issues related to GitLab's Helm Charts at
|
|
https://gitlab.com/charts/charts.gitlab.io/issues.
|
|
Contributions and improvements are also very welcome.
|
|
|
|
## Prerequisites
|
|
|
|
To use the charts, the Helm tool must be installed and initialized. The best
|
|
place to start is by reviewing the [Helm Quick Start Guide][helm-quick].
|
|
|
|
## Add the GitLab Helm repository
|
|
|
|
Once Helm has been installed, the GitLab chart repository must be added:
|
|
|
|
```bash
|
|
helm repo add gitlab https://charts.gitlab.io
|
|
```
|
|
|
|
After adding the repository, Helm must be re-initialized:
|
|
|
|
```bash
|
|
helm init
|
|
```
|
|
|
|
## Using the GitLab Helm Charts
|
|
|
|
GitLab makes available three Helm Charts: an easy to use bundled chart, and a specific chart for GitLab itself and the Runner.
|
|
|
|
- [gitlab-omnibus](gitlab_omnibus.md): The easiest way to get started. Includes everything needed to run GitLab, including: a Runner, Container Registry, automatic SSL, and an Ingress.
|
|
- [gitlab](gitlab_chart.md): Just the GitLab service, with optional Postgres and Redis.
|
|
- [gitlab-runner](gitlab_runner_chart.md): GitLab Runner, to process CI jobs.
|
|
|
|
[chart]: https://github.com/kubernetes/charts
|
|
[helm-quick]: https://github.com/kubernetes/helm/blob/master/docs/quickstart.md
|
|
[helm]: https://github.com/kubernetes/helm/blob/master/README.md
|