Sotoon Kubernetes Engine

Update Cluster

Updates an existing Kubernetes cluster's configuration

patch/ske/v2alpha1/thr1-standard/workspaces/{workspaceUUID}/sotoonclusters/{resourceId}

Path parameters

resourceIdstring required

Resource ID

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 configuration was successfully updated. This can include modifications to metadata or other mutable properties. The response contains the complete updated cluster details reflecting the changes made.

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.