Get All Node Pools

Get All Node Pools

API to fetch all node pools of as Kubernetes Cluster

Request
URI
GET
https://{api_host}/tca/caas/api/v2/orgs/{orgId}/clusters/{clusterUUID}/nodepools
COPY
Path Parameters
string
orgId
Optional

The identifier of the tenant

string
clusterUUID
Required

UUID of cluster where node pools are created

Query Parameters
string
mgmtClusterName
Optional

Name of management cluster of the given cluster. If given cluster is management cluster, this is not required

string
tcaCpId
Required

TCA-CP id of management cluster managing given cluster

string
filter
Optional

Attribute-based filtering expression.

string
sort
Optional

Attribute based sorting expression.

string
nextpage_opaque_marker
Optional

Marker to obtain the next page of a paged response. If not present, API will return first page of response with page size 10.

Header Parameters
string
x-tca-anymatch
Optional

Flag to indicate OR match is requested for filter sub-expressions. If set to true, response based on OR match is returned.


Authentication
This operation uses the following authentication methods.
Responses
200

Successfully returned node pools

Returns nodepoolList of type(s) application/json
{
    "items": [
        {
            "metadata": {
                "resourceVersion": "number",
                "name": "string",
                "clusterName": "string",
                "mgmtClusterName": "string",
                "tcaCpId": "string",
                "createdByIntent": "string",
                "modifiedByIntent": "string",
                "annotations": {
                    "templateName": "string",
                    "templateNodepoolName": "string"
                }
            },
            "spec": {
                "autoscaler": {
                    "enable": false,
                    "maxSize0": 0,
                    "minSize0": 0
                },
                "class": "string",
                "cloneMode": "string",
                "cloudMachineTemplate": {
                    "type": "string",
                    "vSphereMachine": {
                        "cloneMode": "string",
                        "datacenter": "string",
                        "datastore": "string",
                        "folder": "string",
                        "numCoresPerSocket": 0,
                        "resourcePool": "string",
                        "storagePolicyName": "string",
                        "template": "string"
                    }
                },
                "clusterName": "string",
                "datacenter": "string",
                "datastore": "string",
                "diskGiB": 0,
                "folder": "string",
                "healthCheck": {
                    "maxUnhealthy": "string",
                    "nodeStartupTimeout": "string",
                    "unhealthyConditions": [
                        {
                            "status": "string",
                            "timeout": "string",
                            "type": "string"
                        }
                    ]
                },
                "kubeadmConfigTemplate": {
                    "joinConfiguration": {
                        "nodeRegistration": {}
                    }
                },
                "memoryMiB": 0,
                "network": {
                    "devices": [
                        {
                            "dhcp4": false,
                            "dhcp6": false,
                            "gateway4": "string",
                            "gateway6": "string",
                            "ipAddressPools": [
                                {
                                    "name": "string"
                                }
                            ],
                            "mtu": 0,
                            "nameservers": [
                                "string"
                            ],
                            "networkName": "string"
                        }
                    ]
                },
                "numCPUs": 0,
                "numCoresPerSocket": 0,
                "pause": false,
                "replicas": 0,
                "resourcePool": "string",
                "storagePolicyName": "string",
                "strategy": {
                    "rollingUpdate": {
                        "deletePolicy": "string"
                    },
                    "type": "string"
                },
                "tcaBomReleaseRef": {
                    "name": "string"
                },
                "template": "string",
                "variables": [
                    {
                        "definitionFrom": "string",
                        "name": "string"
                    }
                ],
                "cloudProvider": {
                    "vimId": "string"
                },
                "customisations": {
                    "networkAdapters": [
                        {
                            "networkName": "string",
                            "interfaceName": "string",
                            "mtu": "number"
                        }
                    ]
                }
            },
            "status": {
                "needUpgrade": false,
                "resourceVersion": "number",
                "opstatus": "string",
                "hostProfile": "string",
                "pause": false,
                "computeResource": {
                    "name": "string",
                    "type": "string"
                },
                "deleteAccepted": false,
                "conditions": [
                    {
                        "lastTransitionTime": "string",
                        "status": "string",
                        "type": "string",
                        "reason": "string",
                        "message": "string",
                        "severity": "string"
                    }
                ]
            },
            "lastUpdated": "string",
            "creationDate": "string",
            "creationTenantId": "string",
            "creationUser": "string",
            "intentQueued": false
        }
    ]
}
array of nodepool-2
items
Optional

List of Node Pools


400
Returns BadRequest of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


500
Returns InternalServerError of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors