Managed Kubernetes
List k8s cluster flavors
Retrieve a list of flavors for k8s pool. When the include_prices query parameter is specified, the list shows prices. A client in trial mode gets all price values as 0. If you get Pricing Error contact the support
get/cloud/v1/k8s/{project_id}/{region_id}/flavors
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:7
Region ID
Query parameters
exclude_gpuboolean
Set to true to exclude GPU flavors. Default is false.
Set to true to exclude GPU flavors. Default is false.
include_capacityboolean
Set to true to include flavor capacity. Default is False.
Set to true to include flavor capacity. Default is False.
include_pricesboolean
Set to true to include flavor prices. Default is False.
Set to true to include flavor prices. Default is False.
Response
OK
Example response
{
"count": 1,
"results": [
{
"architecture": "x86_64",
"capacity": 1,
"currency_code": "USD",
"flavor_id": "g2-standard-32-64",
"flavor_name": "g2-standard-32-64",
"os_type": "linux",
"ram": 2048,
"reserved_capacity": 5,
"resource_class": "bm1-ai-small",
"vcpus": 1
}
]
}