debian-mirror-gitlab/doc/install/kubernetes/index.md

71 lines
3.4 KiB
Markdown
Raw Normal View History

2018-11-08 19:23:39 +05:30
---
description: 'Read through the different methods to deploy GitLab on Kubernetes.'
---
2017-09-10 17:25:29 +05:30
# Installing GitLab on Kubernetes
2018-11-08 19:23:39 +05:30
2018-11-20 20:47:30 +05:30
NOTE: **Note**: These charts have been tested on Google Kubernetes Engine. Other
Kubernetes installations may work as well, if not please [open an issue](https://gitlab.com/charts/issues).
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
The easiest method to deploy GitLab on [Kubernetes](https://kubernetes.io/) is
to take advantage of GitLab's Helm charts. [Helm] is a package
2017-08-17 22:00:37 +05:30
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.
2018-03-17 18:26:18 +05:30
## Chart Overview
2018-11-20 20:47:30 +05:30
- **[GitLab Chart](gitlab_chart.html)**: Deploys GitLab on Kubernetes. Includes all the required components to get started, and can scale to large deployments.
- **[GitLab Runner Chart](gitlab_runner_chart.md)**: For deploying just the GitLab Runner.
- Other Charts
- [GitLab-Omnibus](gitlab_omnibus.md): Chart based on the Omnibus GitLab package, only suitable for small deployments. Deprecated, we strongly recommend using the [gitlab](#gitlab-chart) chart.
- [Community contributed charts](#community-contributed-charts): Community contributed charts.
2018-03-17 18:26:18 +05:30
2018-11-08 19:23:39 +05:30
## GitLab Chart
2018-03-17 18:26:18 +05:30
2018-11-20 20:47:30 +05:30
This chart contains all the required components to get started, and can scale to
large deployments. It offers a number of benefits:
2018-03-17 18:26:18 +05:30
2018-11-20 20:47:30 +05:30
- Horizontal scaling of individual components
- No requirement for shared storage to scale
- Containers do not need `root` permissions
- Automatic SSL with Let's Encrypt
- and plenty more.
2018-03-17 18:26:18 +05:30
2018-11-20 20:47:30 +05:30
Learn more about the [GitLab chart](gitlab_chart.md).
2018-03-17 18:26:18 +05:30
2018-11-08 19:23:39 +05:30
## GitLab Runner Chart
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
If you already have a GitLab instance running, inside or outside of Kubernetes,
and you'd like to leverage the Runner's
[Kubernetes capabilities](https://docs.gitlab.com/runner/executors/kubernetes.html),
it can be deployed with the GitLab Runner chart.
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
Learn more about [gitlab-runner chart](gitlab_runner_chart.md).
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
## Other Charts
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
### GitLab-Omnibus Chart
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
CAUTION: **Deprecated:**
This chart is **deprecated**. We recommend using the [GitLab Chart](gitlab_chart.md)
instead. A comparison of the two charts is available in [this video](https://youtu.be/Z6jWR8Z8dv8).
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
This chart is based on the [GitLab Omnibus Docker images](https://docs.gitlab.com/omnibus/docker/).
It deploys and configures nearly all features of GitLab, including:
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
- a [GitLab Runner](https://docs.gitlab.com/runner/)
- [Container Registry](../../user/project/container_registry.html#gitlab-container-registry)
- [Mattermost](https://docs.gitlab.com/omnibus/gitlab-mattermost/)
- [automatic SSL](https://github.com/kubernetes/charts/tree/master/stable/kube-lego)
- and an [NGINX load balancer](https://github.com/kubernetes/ingress/tree/master/controllers/nginx).
2017-08-17 22:00:37 +05:30
2018-11-08 19:23:39 +05:30
Learn more about the [gitlab-omnibus chart](gitlab_omnibus.md).
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
### Community Contributed Charts
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
The community has also contributed GitLab [CE](https://github.com/kubernetes/charts/tree/master/stable/gitlab-ce) and [EE](https://github.com/kubernetes/charts/tree/master/stable/gitlab-ee) charts to the [Helm Stable Repository](https://github.com/kubernetes/charts#repository-structure). These charts should be considered [deprecated](https://github.com/kubernetes/charts/issues/1138) in favor of the [official Charts](gitlab_omnibus.md).
2017-08-17 22:00:37 +05:30
[chart]: https://github.com/kubernetes/charts
[helm]: https://github.com/kubernetes/helm/blob/master/README.md