Managed Kubernetes
Create k8s cluster pool
post/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name}/pools
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:7
Region ID
cluster_namestring required
Cluster name
Example:my-cluster
Cluster name
Request body
Example request
{
"auto_healing_enabled": true,
"boot_volume_size": 50,
"boot_volume_type": "ssd_hiiops",
"crio_config": {
"default-ulimits": "nofile=1024:2048"
},
"flavor_id": "g1-standard-1-2",
"is_public_ipv4": true,
"kubelet_config": {
"podMaxPids": "4096"
},
"labels": {
"my-label": "foo"
},
"max_node_count": 5,
"min_node_count": 3,
"name": "my-pool",
"taints": {
"my-taint": "bar:NoSchedule"
}
}Response
OK
Example response
{
"tasks": [
"d478ae29-dedc-4869-82f0-96104425f565"
]
}