Update an SKS cluster
Path parameters
-
id
string(uuid) Required
Body
Required
-
name
string Cluster name
Minimum length is
1
, maximum length is255
. -
description
string | null Cluster description
Maximum length is
255
. -
labels
object -
oidc
object SKS Cluster OpenID config map
-
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
. -
feature-gates
array[string] A list of Kubernetes-only Alpha features to enable for API server component
-
enable-operators-ca
boolean Add or remove the operators certificate authority (CA) from the list of trusted CAs of the api server. The default value is true
PUT
/sks-cluster/{id}
curl \
--request PUT https://api-ch-gva-2.exoscale.com/v2/sks-cluster/{id} \
--header "Content-Type: application/json" \
--data '{"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"],"feature-gates":["string"],"enable-operators-ca":true}'
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"
],
"feature-gates": [
"string"
],
"enable-operators-ca": true
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}