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
{
    "placementParams": [
        {
            "name": "name",
            "type": "type"
        },
        {
            "name": "name",
            "type": "type"
        }
    ],
    "isNodeCustomizationDeprecated": true,
    "memory": 2048,
    "replica": 1,
    "activeTasksCount": 2,
    "warnings": [
        {
            "errorCode": "errorCode",
            "operationType": "operationType",
            "message": "message",
            "internalMessage": "internalMessage"
        },
        {
            "errorCode": "errorCode",
            "operationType": "operationType",
            "message": "message",
            "internalMessage": "internalMessage"
        }
    ],
    "cpu": 2,
    "storage": 5,
    "networks": [
        {
            "networkFullPath": "networkFullPath",
            "nameservers": [
                "nameservers",
                "nameservers"
            ],
            "derivedFromCsar": true,
            "networkName": "networkName",
            "label": "label",
            "isManagement": true,
            "mtu": 2599
        },
        {
            "networkFullPath": "networkFullPath",
            "nameservers": [
                "nameservers",
                "nameservers"
            ],
            "derivedFromCsar": true,
            "networkName": "networkName",
            "label": "label",
            "isManagement": true,
            "mtu": 2599
        }
    ],
    "labels": [
        "labels",
        "labels"
    ],
    "cloneMode": "fullClone",
    "nodes": [
        {
            "vmName": "vmName",
            "ip": "ip"
        },
        {
            "vmName": "vmName",
            "ip": "ip"
        }
    ],
    "name": "name",
    "id": "id",
    "config": {
        "healthCheck": {
            "unhealthyConditions": [
                {
                    "type": "Ready",
                    "timeout": "timeout",
                    "status": true
                },
                {
                    "type": "Ready",
                    "timeout": "timeout",
                    "status": true
                }
            ],
            "nodeStartupTimeout": "20m0s"
        },
        "cpuManagerPolicy": {
            "type": "kubernetes",
            "properties": {
                "systemReserved": {
                    "memoryInGiB": 1,
                    "cpu": 1
                },
                "kubeReserved": {
                    "memoryInGiB": 1,
                    "cpu": 1
                }
            },
            "policy": "static"
        }
    },
    "errors": [
        {
            "errorCode": "errorCode",
            "operationType": "operationType",
            "message": "message",
            "internalMessage": "internalMessage"
        },
        {
            "errorCode": "errorCode",
            "operationType": "operationType",
            "message": "message",
            "internalMessage": "internalMessage"
        }
    ],
    "status": "status"
}
string
cloneMode
Optional

Key to indicate the use of linked cloning feature for cloning the VMs. If set to linkedClone, then linked cloning will be used.

Possible values are : fullClone, linkedClone,
integer
cpu
Required

Number of virtual CPUs for worker nodes.

string
id
Optional

id

array of string
labels
Required

These labels are attached to the nodes. You can use these labels as node selectors when instantiating a network function.

integer
memory
Required

Memory size in MB for worker nodes.

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

name

networks
Required

Network labels for worker nodes. These labels are used for providing network inputs during a cluster deployment. The Management interface label is mandatory.

placementParams
Required

placementParams

integer
replica
Required

Replica count for worker nodes.

integer
storage
Required

Disk size in GB for worker nodes.

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

warnings
Optional

warnings

errors
Optional

errors

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully updated cluster node pool.

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

The id of the cluster.

string
operationId
Optional

The operation id for tracking the progress of the operation being performed on the cluster.