2020-05-24 23:13:21 +05:30
---
2021-09-30 23:02:18 +05:30
stage: Configure
group: Configure
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-05-24 23:13:21 +05:30
---
2021-03-11 19:13:27 +05:30
# Kubernetes clusters **(FREE)**
2018-03-17 18:26:18 +05:30
2020-06-23 00:09:42 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/35954) in GitLab 10.1 for projects.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/34758) in
2019-10-12 21:52:04 +05:30
> GitLab 11.6 for [groups](../../group/clusters/index.md).
2020-06-23 00:09:42 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/39840) in
2019-10-12 21:52:04 +05:30
> GitLab 11.11 for [instances](../../instance/clusters/index.md).
2018-03-17 18:26:18 +05:30
2021-09-30 23:02:18 +05:30
We offer extensive integrations to help you connect and manage your Kubernetes clusters from GitLab.
2019-10-12 21:52:04 +05:30
2021-09-30 23:02:18 +05:30
Read through this document to get started.
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
## Benefit from the GitLab-Kubernetes integration
Using the GitLab-Kubernetes integration, you can benefit of GitLab
features such as:
2021-01-03 14:25:43 +05:30
2021-09-30 23:02:18 +05:30
- Create [CI/CD Pipelines ](../../../ci/pipelines/index.md ) to build, test, and deploy to your cluster.
- Use [Auto DevOps ](#auto-devops ) to automate the CI/CD process.
- Use [role-based or attribute-based access controls ](cluster_access.md ).
- Run serverless workloads on [Kubernetes with Knative ](serverless/index.md ).
- Connect GitLab to in-cluster applications using [cluster integrations ](../../clusters/integrations.md ).
2021-11-11 11:23:49 +05:30
- Use [deploy boards ](../deploy_boards.md ) to see the health and status of each CI [environment ](../../../ci/environments/index.md ) running on your Kubernetes cluster.
2021-09-30 23:02:18 +05:30
- Use [Canary deployments ](../canary_deployments.md ) to update only a portion of your fleet with the latest version of your application.
- View your [Kubernetes podlogs ](kubernetes_pod_logs.md ) directly in GitLab.
- Connect to your cluster through GitLab [web terminals ](deploy_to_cluster.md#web-terminals-for-kubernetes-clusters ).
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
## Supported cluster versions
2020-05-24 23:13:21 +05:30
2021-11-11 11:23:49 +05:30
See the [Kubernetes clusters versions supported by GitLab ](../../infrastructure/clusters/connect/index.md#supported-cluster-versions ).
2018-03-27 19:54:05 +05:30
2021-11-11 11:23:49 +05:30
## Connect your cluster to GitLab
2021-03-11 19:13:27 +05:30
2021-11-11 11:23:49 +05:30
Learn how to [create new and connect existing clusters to GitLab ](../../infrastructure/clusters/connect/index.md ).
2021-03-11 19:13:27 +05:30
2021-09-30 23:02:18 +05:30
## Cluster integrations
2021-03-11 19:13:27 +05:30
2021-09-30 23:02:18 +05:30
See the available [cluster integrations ](../../clusters/integrations.md )
to integrate third-party applications with your clusters through GitLab.
2021-03-11 19:13:27 +05:30
2021-09-04 01:27:46 +05:30
## Cluster management project
2018-03-17 18:26:18 +05:30
2021-09-04 01:27:46 +05:30
Attach a [Cluster management project ](../../clusters/management_project.md )
to your cluster to manage shared resources requiring `cluster-admin` privileges for
installation, such as an Ingress controller.
2019-07-07 11:18:12 +05:30
2021-09-30 23:02:18 +05:30
## GitLab-managed clusters
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
See how to allow [GitLab to manage your cluster for you ](gitlab_managed_clusters.md ).
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
## Auto DevOps
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
You can use [Auto DevOps ](../../../topics/autodevops/index.md ) to automatically
detect, build, test, deploy, and monitor your applications.
2020-07-28 23:09:34 +05:30
2019-10-12 21:52:04 +05:30
## Deploying to a Kubernetes cluster
2019-02-15 15:39:39 +05:30
2021-09-30 23:02:18 +05:30
See how to [deploy to your Kubernetes cluster ](deploy_to_cluster.md ) from GitLab.
2019-09-30 21:07:59 +05:30
2020-07-28 23:09:34 +05:30
## Monitoring your Kubernetes cluster
Automatically detect and monitor Kubernetes metrics. Automatic monitoring of
[NGINX Ingress ](../integrations/prometheus_library/nginx.md ) is also supported.
[Read more about Kubernetes monitoring ](../integrations/prometheus_library/kubernetes.md )
### Visualizing cluster health
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4701) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 10.6.
2021-03-11 19:13:27 +05:30
> - [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/208224) to GitLab Free in 13.2.
2019-02-15 15:39:39 +05:30
2021-09-04 01:27:46 +05:30
When [the Prometheus cluster integration is enabled ](../../clusters/integrations.md#prometheus-cluster-integration ), GitLab monitors the cluster's health. At the top of the cluster settings page, CPU and Memory utilization is displayed, along with the total amount available. Keeping an eye on cluster resources can be important, if the cluster runs out of memory pods may be shutdown or fail to start.
2019-02-15 15:39:39 +05:30
2019-07-31 22:56:46 +05:30
![Cluster Monitoring ](img/k8s_cluster_monitoring.png )