Sotoon Kubernetes Engine

Create Cluster

Creates a new Kubernetes cluster in the specified workspace

post/ske/v2alpha1/thr1-standard/workspaces/{workspaceUUID}/sotoonclusters

Path parameters

workspaceUUIDstring required

UUID of the workspace

Request body

apiVersion'ske.sotoon.ir/v1alpha1' required

Version identifier of the API schema

kind'SotoonCluster' required

The string value 'SotoonCluster' that identifies the schema

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.

apiVersion'ske.sotoon.ir/v1alpha1' required

Version identifier of the API schema

kind'SotoonCluster' required

The string value 'SotoonCluster' that identifies the schema

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

No recorded changes to this endpoint across all 1 revision of this API.