gitlab-org--gitlab-foss/doc/install/kubernetes/index.md

61 lines
2.6 KiB
Markdown
Raw Normal View History

---
description: 'Read through the different methods to deploy GitLab on Kubernetes.'
---
# Installing GitLab on Kubernetes
2017-09-08 00:50:30 -04:00
The easiest method to deploy GitLab on [Kubernetes](https://kubernetes.io/) is
2017-08-28 14:18:25 -04:00
to take advantage of GitLab's Helm charts. [Helm] is a package
2017-05-09 13:33:09 -04:00
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-06-21 11:06:01 -04:00
## GitLab Chart
2018-08-21 08:41:40 -04:00
This chart contains all the required components to get started, and can scale to
large deployments. It offers a number of benefits:
2017-08-29 14:39:06 -04:00
2018-08-21 08:41:40 -04:00
- Horizontal scaling of individual components
- No requirement for shared storage to scale
- Containers do not need `root` permissions
- Automatic SSL with Let's Encrypt
- An unprivileged GitLab Runner
2018-08-21 08:41:40 -04:00
- and plenty more.
2017-08-29 14:39:06 -04:00
2018-08-21 08:41:40 -04:00
Learn more about the [GitLab chart](gitlab_chart.md).
2017-09-01 00:29:53 -04:00
2018-06-21 11:06:01 -04:00
## GitLab Runner Chart
2017-09-30 02:28:47 -04:00
2018-08-21 08:41:40 -04:00
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-28 14:18:25 -04:00
2018-06-21 11:06:01 -04:00
Learn more about [gitlab-runner chart](gitlab_runner_chart.md).
2017-05-09 13:33:09 -04:00
2018-09-10 07:16:33 -04:00
## Deprecated Charts
2017-05-09 13:33:09 -04:00
2018-08-21 08:41:40 -04:00
CAUTION: **Deprecated:**
2018-09-10 07:16:33 -04:00
These charts are **deprecated**. We recommend using the [GitLab Chart](gitlab_chart.md)
instead.
### GitLab-Omnibus Chart
2017-08-28 16:03:42 -04:00
2018-08-21 08:41:40 -04:00
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-09-08 00:50:30 -04:00
2018-08-21 08:41:40 -04:00
- 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-28 16:03:42 -04:00
2018-06-21 11:06:01 -04:00
Learn more about the [gitlab-omnibus chart](gitlab_omnibus.md).
2017-05-09 13:33:09 -04:00
2017-09-08 00:50:30 -04:00
### Community Contributed Charts
2018-09-10 07:16:33 -04:00
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-28 16:03:42 -04:00
2017-05-09 13:33:09 -04:00
[chart]: https://github.com/kubernetes/charts
[helm]: https://github.com/kubernetes/helm/blob/master/README.md