cURL
curl --request GET \ --url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name}/pools \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "auto_healing_enabled": true, "boot_volume_size": 123, "boot_volume_type": "<string>", "created_at": "<string>", "crio_config": {}, "flavor_id": "<string>", "id": "<string>", "is_public_ipv4": true, "kubelet_config": {}, "labels": {}, "max_node_count": 123, "min_node_count": 123, "name": "<string>", "node_count": 123, "status": "<string>", "taints": {}, "servergroup_id": "", "servergroup_name": "", "servergroup_policy": "" } ] }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project identifier
Region identifier
K8s Cluster name
cluster pools list
Number of objects
x >= 0
1
Objects
Show child attributes
Was this page helpful?