debian-mirror-gitlab/doc/user/project/clusters/add_remove_clusters.md
2022-07-23 20:15:48 +02:00

2.1 KiB

stage group info
Configure Configure 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

Add a cluster using cluster certificates (DEPRECATED) (FREE)

Deprecated in GitLab 14.0.

WARNING: This feature was deprecated in GitLab 14.0. To create and manage a new cluster use Infrastructure as Code.

Disable a cluster

When you successfully connect an existing cluster using cluster certificates, the cluster connection to GitLab becomes enabled. To disable it:

  1. Go to your:
    • Project's {cloud-gear} Infrastructure > Kubernetes clusters page, for a project-level cluster.
    • Group's {cloud-gear} Kubernetes page, for a group-level cluster.
    • Menu > Admin > Kubernetes page, for an instance-level cluster.
  2. Select the name of the cluster you want to disable.
  3. Toggle GitLab Integration off (in gray).
  4. Select Save changes.

Remove a cluster

Introduced in GitLab 12.6, you can remove cluster integrations and resources.

When you remove a cluster integration, you only remove the cluster relationship to GitLab, not the cluster. To remove the cluster itself, visit your cluster's GKE or EKS dashboard to do it from their UI or use kubectl.

You need at least Maintainer permissions to your project or group to remove the integration with GitLab.

When removing a cluster integration, you have two options:

  • Remove integration: remove only the Kubernetes integration.
  • Remove integration and resources: remove the cluster integration and all GitLab cluster-related resources such as namespaces, roles, and bindings.

To remove the Kubernetes cluster integration:

  1. Go to your cluster details page.
  2. Select the Advanced Settings tab.
  3. Select either Remove integration or Remove integration and resources.