Skip to content

Group Cluster API

Problem to solve

Time wasted on manually adding Kubernetes cluster to the GitLab group.

Intended users

DevOps Engineers

Further details

GitLab offers a great integration with Kubernetes: https://docs.gitlab.com/ce/user/project/clusters/
We are in actively development, so create clusters routinely.
So we have automated majority of the process of attaching a cluster to GitLab.

However GitLab API allows to attach a cluster only on Project level: https://docs.gitlab.com/ee/api/project_clusters.html#add-existing-cluster-to-project

There is no API for attaching on Group level: https://docs.gitlab.com/ce/api/README.html
I can only guess that this is because Group-level Kubernetes clusters are still in Beta: https://docs.gitlab.com/ee/user/group/clusters/index.html

Am I missing something and can it still be done?
Are there any plans for implementation?

Maybe there is a "Beta" version of the API too?
We would be really glad to become early adopters.

Proposal

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

Links / references