Sotoon Kubernetes Engine
Create Cluster
Creates a new Kubernetes cluster in the specified workspace
post/ske/v2alpha1/thr4-standard/workspaces/{workspaceUUID}/sotoonclusters
Path parameters
workspaceUUIDstring required
UUID of the workspace
Request body
Example request
{
"apiVersion": "ske.sotoon.ir/v1alpha1",
"kind": "SotoonCluster",
"metadata": {
"resourceVersion": "12345",
"uid": "550e8400-e29b-41d4-a716-446655440000",
"workspace": "550e8400-e29b-41d4-a716-446655440000"
},
"spec": {
"infra": {
"VPC": "default",
"subnet": "default",
"version": {
"kubernetesVersion": "v1.28.4",
"patchVersion": "ske-1.0.2"
}
}
},
"status": {
"kubeconfigSecretName": {
"name": "my-cluster-kubeconfig"
},
"phase": "Ready"
}
}Response
The cluster was successfully created and is being provisioned. The request must include cluster specifications like version and networking details. The response contains the complete cluster details including the assigned unique identifier.
Example response
{
"apiVersion": "ske.sotoon.ir/v1alpha1",
"kind": "SotoonCluster",
"metadata": {
"resourceVersion": "12345",
"uid": "550e8400-e29b-41d4-a716-446655440000",
"workspace": "550e8400-e29b-41d4-a716-446655440000"
},
"spec": {
"infra": {
"VPC": "default",
"subnet": "default",
"version": {
"kubernetesVersion": "v1.28.4",
"patchVersion": "ske-1.0.2"
}
}
},
"status": {
"kubeconfigSecretName": {
"name": "my-cluster-kubeconfig"
},
"phase": "Ready"
}
}Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○