Get K8 Cluster Node Pool
Get K8 cluster node pool
clusterId
nodePoolId
Flag to skip nodes information as part of api response. If set to true, response will not have nodes information. Nodes information can be queried directly from Kubernetes cluster API instead. Nodes belonging to a nodepool can be filtered by label with key telco.vmware.com/nodepool and value clustername-nodepoolname.
returns cluster with given id
{
"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"
}
Key to indicate the use of linked cloning feature for cloning the VMs. If set to linkedClone, then linked cloning will be used.
Number of virtual CPUs for worker nodes.
id
These labels are attached to the nodes. You can use these labels as node selectors when instantiating a network function.
Memory size in MB for worker nodes.
name
Network labels for worker nodes. These labels are used for providing network inputs during a cluster deployment. The Management interface label is mandatory.
Replica count for worker nodes.
Disk size in GB for worker nodes.
status
Number of operations in processing or queued state on the node pool
isNodeCustomizationDeprecated