Edit Node Pool

Edit Node Pool

Api to edit a nodepool

Request
URI
PUT
https://{api_host}/hybridity/api//infra/k8s/cluster/{clusterId}/nodepool/{nodePoolId}
COPY
Path Parameters
string
clusterId
Required

clusterId

string
nodePoolId
Required

nodePoolId


Request Body

edit cluster node pool

nodePool of type(s) application/json
Required
{
    "cloneMode": "string",
    "cpu": 0,
    "id": "string",
    "labels": [
        "string"
    ],
    "memory": 0,
    "name": "string",
    "networks": [
        {
            "label": "string",
            "networkName": "string",
            "nameservers": [
                "string"
            ]
        }
    ],
    "placementParams": [
        {
            "name": "string",
            "type": "string"
        }
    ],
    "replica": 0,
    "storage": 0,
    "config": {
        "cpuManagerPolicy": {
            "type": "string",
            "policy": "string",
            "properties": {
                "kubeReserved": {
                    "cpu": 0,
                    "memoryInGiB": 0
                },
                "systemReserved": {
                    "cpu": 0,
                    "memoryInGiB": 0
                }
            }
        }
    },
    "status": "string",
    "activeTasksCount": 0,
    "nodes": [
        {
            "ip": "string",
            "vmName": "string"
        }
    ],
    "isNodeCustomizationDeprecated": false
}
string
cloneMode
Optional

cloneMode

Possible values are : fullClone, linkedClone,
integer
cpu
Required

cpu

string
id
Optional

id

array of string
labels
Required

labels

integer
memory
Required

memory

string As [a-z0-9]([-a-z0-9]*[a-z0-9])?(.[a-z0-9])
name
Required

name

networks
Required

networks

placementParams
Required

placementParams

integer
replica
Required

replica

integer
storage
Required

storage

config
Optional

config

string
status
Optional

status

integer
activeTasksCount
Optional

Number of operations in processing or queued state on the node pool

nodes
Optional

nodes

boolean
isNodeCustomizationDeprecated
Optional

isNodeCustomizationDeprecated

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully updated cluster node pool.

Returns clusterAPIResponse of type(s) application/json
{
    "id": "string",
    "operationId": "string"
}
string
id
Optional

id

string
operationId
Optional

operationId