Cluster discovery API (certificate-based) (deprecated)
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
This feature was deprecated in GitLab 14.5.
Discover certificate-based clusters
Gets certificate-based clusters that are registered to a group, subgroup, or project. Disabled and enabled clusters are also returned.
GET /discover-cert-based-clusters
Parameters:
Attribute | Type | Required | Description |
---|---|---|---|
group_id | integer/string | yes | The ID of the group |
Example request:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/discover-cert-based-clusters?group_id=1"
Example response:
{
"groups": {
"my-clusters-group": [
{
"id": 2,
"name": "group-cluster-1"
}
],
"my-clusters-group/subgroup1/subsubgroup1": [
{
"id": 4,
"name": "subsubgroup-cluster"
}
]
},
"projects": {
"my-clusters-group/subgroup1/subsubgroup1/subsubgroup-project-with-cluster": [
{
"id": 3,
"name": "subsubgroup-project-cluster"
}
],
"my-clusters-group/project1-with-clustser": [
{
"id": 1,
"name": "test"
}
]
}
}
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support