021.md 1.5 KB
Newer Older
Lab机器人's avatar
readme  
Lab机器人 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
# Instance-level Kubernetes clusters

> 原文:[https://docs.gitlab.com/ee/user/instance/clusters/](https://docs.gitlab.com/ee/user/instance/clusters/)

*   [Overview](#overview)
*   [Cluster precedence](#cluster-precedence)
*   [Cluster environments](#cluster-environments-premium)
*   [More information](#more-information)

# Instance-level Kubernetes clusters[](#instance-level-kubernetes-clusters "Permalink")

在 GitLab 11.11 中[引入](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/39840) .

## Overview[](#overview "Permalink")

[项目级](../../project/clusters/index.html)[组级](../../group/clusters/index.html) Kubernetes 集群类似,实例级 Kubernetes 集群允许您将 Kubernetes 集群连接到 GitLab 实例,这使您可以在多个项目中使用同一集群.

## Cluster precedence[](#cluster-precedence "Permalink")

GitLab 将尝试按以下顺序匹配集群:

*   项目级集群.
*   组级别群集.
*   实例级集群.

要选择集群,必须启用集群并使其与[环境选择器](../../../ci/environments/index.html#scoping-environments-with-specs)匹配.

## Cluster environments[](#cluster-environments-premium "Permalink")

有关将哪种 CI [环境](../../../ci/environments/index.html)部署到 Kubernetes 集群的统一视图,请参阅[集群环境](../../clusters/environments.html)文档.

## More information[](#more-information "Permalink")

有关集成 GitLab 和 Kubernetes 的信息,此[Kubernetes 集群](../../project/clusters/index.html) .