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

61 lines
2.6 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-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-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
2018-12-05 23:21:45 +05:30
- An unprivileged GitLab Runner
2018-11-20 20:47:30 +05:30
- 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-12-05 23:21:45 +05:30
## Deprecated Charts
2017-08-17 22:00:37 +05:30
2018-11-20 20:47:30 +05:30
CAUTION: **Deprecated:**
2018-12-05 23:21:45 +05:30
These charts are **deprecated**. We recommend using the [GitLab Chart](gitlab_chart.md)
instead.
### GitLab-Omnibus Chart
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-12-05 23:21:45 +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 are [deprecated](https://github.com/kubernetes/charts/issues/1138) in favor of the [official Chart](gitlab_chart.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