Sotoon Kubernetes Engine
Create NodePool
Creates a new Kubernetes NodePool in the specified workspace with the provided configuration. The request must include nodepool specifications like replicas and instance type.
post/ske/v2alpha1/thr4-standard/workspaces/{workspaceUUID}/sotoonnodepools
Path parameters
workspaceUUIDstring required
UUID of the workspace
Request body
Example request
{
"apiVersion": "ske.sotoon.ir/v1alpha1",
"kind": "SotoonNodepool",
"metadata": {
"resourceVersion": "12345",
"uid": "550e8400-e29b-41d4-a716-446655440000",
"workspace": "550e8400-e29b-41d4-a716-446655440000"
},
"spec": {
"clusterName": "my-cluster",
"cri": {
"runtime": "containerd"
},
"template": {
"instanceType": "g1d-2"
},
"version": {
"kubernetesVersion": "v1.28.4",
"patchVersion": "ske-1.0.2"
}
},
"status": {
"phase": "Running"
}
}Response
The nodepool was successfully created and is being provisioned. The response contains the complete nodepool details.
Example response
{
"apiVersion": "ske.sotoon.ir/v1alpha1",
"kind": "SotoonNodepool",
"metadata": {
"resourceVersion": "12345",
"uid": "550e8400-e29b-41d4-a716-446655440000",
"workspace": "550e8400-e29b-41d4-a716-446655440000"
},
"spec": {
"clusterName": "my-cluster",
"cri": {
"runtime": "containerd"
},
"template": {
"instanceType": "g1d-2"
},
"version": {
"kubernetesVersion": "v1.28.4",
"patchVersion": "ske-1.0.2"
}
},
"status": {
"phase": "Running"
}
}Changes
Changed in 1 of the 3 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○