Managed Kubernetes
Check cluster quota
Calculate quota requirements for a new K8s cluster before creation. Returns exceeded quotas if regional limits would be violated. Validates requirements for all pools, logging, and cluster infrastructure (floating IPs, load balancers, security groups). Use before cluster creation to validate resource availability.
post/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:7
Region ID
Request body
Example request
{
"logging": {
"destination_region_id": 1,
"enabled": true,
"retention_policy": {
"period": 45
},
"topic_name": "my-log-name"
},
"pools": [
{
"boot_volume_size": 10,
"flavor_id": "g1-standard-1-2",
"min_node_count": 1,
"name": "test"
}
]
}Response
OK
Example response
{
"baremetal_gpu_a100_count_limit": 5,
"baremetal_gpu_a100_count_requested": 10,
"baremetal_gpu_a100_count_usage": 3,
"baremetal_gpu_h100_count_limit": 5,
"baremetal_gpu_h100_count_requested": 10,
"baremetal_gpu_h100_count_usage": 3,
"baremetal_gpu_h200_count_limit": 5,
"baremetal_gpu_h200_count_requested": 10,
"baremetal_gpu_h200_count_usage": 3,
"baremetal_gpu_l40s_count_limit": 5,
"baremetal_gpu_l40s_count_requested": 10,
"baremetal_gpu_l40s_count_usage": 3,
"baremetal_hf_count_limit": 5,
"baremetal_hf_count_requested": 10,
"baremetal_hf_count_usage": 3,
"cluster_count_limit": 5,
"cluster_count_requested": 6,
"cluster_count_usage": 4,
"cpu_count_limit": 10,
"cpu_count_requested": 20,
"cpu_count_usage": 5,
"firewall_count_limit": 5,
"firewall_count_requested": 6,
"firewall_count_usage": 4,
"floating_count_limit": 5,
"floating_count_requested": 6,
"floating_count_usage": 4,
"gpu_count_limit": 4,
"gpu_count_requested": 8,
"gpu_count_usage": 2,
"gpu_virtual_a100_count_limit": 4,
"gpu_virtual_a100_count_requested": 8,
"gpu_virtual_a100_count_usage": 2,
"gpu_virtual_h100_count_limit": 4,
"gpu_virtual_h100_count_requested": 8,
"gpu_virtual_h100_count_usage": 2,
"gpu_virtual_h200_count_limit": 4,
"gpu_virtual_h200_count_requested": 8,
"gpu_virtual_h200_count_usage": 2,
"gpu_virtual_l40s_count_limit": 4,
"gpu_virtual_l40s_count_requested": 8,
"gpu_virtual_l40s_count_usage": 2,
"laas_topic_count_limit": 5,
"laas_topic_count_requested": 6,
"laas_topic_count_usage": 4,
"loadbalancer_count_limit": 5,
"loadbalancer_count_requested": 6,
"loadbalancer_count_usage": 4,
"ram_limit": 20480,
"ram_requested": 40960,
"ram_usage": 10240,
"servergroup_count_limit": 5,
"servergroup_count_requested": 10,
"servergroup_count_usage": 3,
"vm_count_limit": 5,
"vm_count_requested": 10,
"vm_count_usage": 3,
"volume_count_limit": 5,
"volume_count_requested": 10,
"volume_count_usage": 3,
"volume_size_limit": 400,
"volume_size_requested": 800,
"volume_size_usage": 200
}