v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Managed Kubernetes

Upgrade k8s cluster

post/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name}/upgrade

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

versionstring required

Target k8s cluster version

Example request

{
  "version": "v1.28.1"
}

Response

OK

tasksstring[] required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
idstring required

Example response

{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}