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