debian-mirror-gitlab/doc/user/clusters/environments.md

56 lines
2.2 KiB
Markdown
Raw Normal View History

2020-05-24 23:13:21 +05:30
---
stage: Configure
group: Configure
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-05-24 23:13:21 +05:30
---
2021-12-11 22:18:48 +05:30
# Cluster Environments (DEPRECATED) **(PREMIUM)**
2019-12-04 20:38:33 +05:30
2022-01-26 12:08:38 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/13392) in GitLab 12.3 for group-level clusters.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/14809) in GitLab 12.4 for instance-level clusters.
2021-12-11 22:18:48 +05:30
> - [Deprecated](https://gitlab.com/groups/gitlab-org/configure/-/epics/8) in GitLab 14.5.
2022-07-16 23:28:13 +05:30
> - [Disabled on self-managed](https://gitlab.com/gitlab-org/gitlab/-/issues/353410) in GitLab 15.0.
2021-12-11 22:18:48 +05:30
WARNING:
This feature was [deprecated](https://gitlab.com/groups/gitlab-org/configure/-/epics/8) in GitLab 14.5.
2019-12-04 20:38:33 +05:30
2022-07-16 23:28:13 +05:30
FLAG:
On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag](../../administration/feature_flags.md) named `certificate_based_clusters`.
2020-05-24 23:13:21 +05:30
Cluster environments provide a consolidated view of which CI [environments](../../ci/environments/index.md) are
2019-12-04 20:38:33 +05:30
deployed to the Kubernetes cluster and it:
- Shows the project and the relevant environment related to the deployment.
- Displays the status of the pods for that environment.
## Overview
With cluster environments, you can gain insight into:
- Which projects are deployed to the cluster.
- How many pods are in use for each project's environment.
- The CI job that was used to deploy to that environment.
![Cluster environments page](img/cluster_environments_table_v12_3.png)
2022-10-11 01:57:18 +05:30
Access to cluster environments is restricted to
2022-08-27 11:52:29 +05:30
[group maintainers and owners](../permissions.md#group-members-permissions)
2019-12-04 20:38:33 +05:30
## Usage
2023-04-23 21:23:45 +05:30
To:
2019-12-04 20:38:33 +05:30
- Track environments for the cluster, you must
2021-11-18 22:05:49 +05:30
[deploy to a Kubernetes cluster](../project/clusters/deploy_to_cluster.md)
2019-12-04 20:38:33 +05:30
successfully.
- Show pod usage correctly, you must
2021-11-11 11:23:49 +05:30
[enable deploy boards](../project/deploy_boards.md#enabling-deploy-boards).
2019-12-04 20:38:33 +05:30
2021-03-11 19:13:27 +05:30
After you have successful deployments to your group-level or instance-level cluster:
2019-12-04 20:38:33 +05:30
1. Navigate to your group's **Kubernetes** page.
2022-07-23 23:45:48 +05:30
1. Select the **Environments** tab.
2019-12-04 20:38:33 +05:30
2021-01-03 14:25:43 +05:30
Only successful deployments to the cluster are included in this page.
Non-cluster environments aren't included.