Update an SKS cluster
Body Required
-
name string
Cluster name
Minimum length is
1
, maximum length is255
. -
description string | null
Cluster description
Maximum length is
255
. -
labels object
Resource labels
-
oidc object
Cluster OpenID configmap
Additional properties are allowed.
-
auto-upgrade boolean
Enable auto upgrade of the control plane to the latest patch version available
-
addons array[string]
Cluster addons
Values are
exoscale-cloud-controller
,exoscale-container-storage-interface
, ormetrics-server
.
PUT /sks-cluster/{id}
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/sks-cluster/{id} \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string","labels":{"additionalProperty1":"string","additionalProperty2":"string"},"oidc":{"client-id":"string","issuer-url":"string","username-claim":"string","username-prefix":"string","groups-claim":"string","groups-prefix":"string","required-claim":{"additionalProperty1":"string","additionalProperty2":"string"}},"auto-upgrade":true,"addons":["exoscale-cloud-controller"]}'
Request examples
{
"name": "string",
"description": "string",
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"oidc": {
"client-id": "string",
"issuer-url": "string",
"username-claim": "string",
"username-prefix": "string",
"groups-claim": "string",
"groups-prefix": "string",
"required-claim": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
},
"auto-upgrade": true,
"addons": [
"exoscale-cloud-controller"
]
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}