Sotoon Kubernetes Engine

Update NodePool

Updates an existing Kubernetes NodePool's configuration by nodepool name.

post/ske/v2alpha1/thr4-standard/workspaces/{workspaceUUID}/sotoonnodepools/{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'SotoonNodepool' required

The string value 'SotoonNodepool' that identifies the schema

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 configuration was successfully updated.

apiVersion'ske.sotoon.ir/v1alpha1' required

Version identifier of the API schema

kind'SotoonNodepool' required

The string value 'SotoonNodepool' that identifies the schema

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