Body
Required
-
Cluster description
Maximum length is
255
. -
Enable auto upgrade of the control plane to the latest patch version available
-
SKS Cluster OpenID config map
-
Cluster name
Minimum length is
1
, maximum length is255
. -
Add or remove the operators certificate authority (CA) from the list of trusted CAs of the api server. The default value is true
-
A list of Kubernetes-only Alpha features to enable for API server component
-
Cluster addons
Values are
exoscale-cloud-controller
,exoscale-container-storage-interface
, ormetrics-server
. -
Kubernetes Audit parameters
PUT
/sks-cluster/{id}
curl \
--request PUT 'https://api-ch-gva-2.exoscale.com/v2/sks-cluster/{id}' \
--header "Content-Type: application/json" \
--data '{"description":"string","labels":{"additionalProperty1":"string","additionalProperty2":"string"},"auto-upgrade":true,"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"}},"name":"string","enable-operators-ca":true,"feature-gates":["string"],"addons":["exoscale-cloud-controller"],"audit":{"endpoint":"string","bearer-token":"string","initial-backoff":"string","enabled":true}}'
Request examples
{
"description": "string",
"labels": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"auto-upgrade": true,
"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"
}
},
"name": "string",
"enable-operators-ca": true,
"feature-gates": [
"string"
],
"addons": [
"exoscale-cloud-controller"
],
"audit": {
"endpoint": "string",
"bearer-token": "string",
"initial-backoff": "string",
"enabled": true
}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}