Apache CloudStack 4.22.0.0 Root Admin API Reference
addNodesToKubernetesCluster
Add nodes as workers to an existing CKS cluster.
Request parameters
| Parameter Name | Description | Required |
| id | the ID of the Kubernetes cluster | true |
| nodeids | comma separated list of (external) node (physical or virtual machines) IDs that need to beadded as worker nodes to an existing managed Kubernetes cluster (CKS) | true |
| manualupgrade | (optional) indicates if the node is marked for manual upgrade and excluded from the Kubernetes cluster upgrade operation | false |
| mountcksisoonvr | (optional) Vmware only, uses the CKS cluster network VR to mount the CKS ISO | false |
Response Tags
| Response Name | Description |
| id | the id of the Kubernetes cluster |
| account | the account associated with the Kubernetes cluster |
| associatednetworkname | the name of the network of the Kubernetes cluster |
| autoscalingenabled | Whether autoscaling is enabled for the cluster |
| clustertype | the type of the cluster |
| cniconfigname | Name of CNI Configuration associated with the cluster |
| cniconfigurationid | ID of CNI Configuration associated with the cluster |
| consoleendpoint | URL end point for the Kubernetes cluster dashboard UI |
| controlnodes | the control nodes count for the Kubernetes cluster |
| controlofferingid | the ID of the service offering of the control nodes on the Kubernetes cluster |
| controlofferingname | the name of the service offering of the control nodes on the Kubernetes cluster |
| cpunumber | the cpu cores of the Kubernetes cluster |
| created | the date when this Kubernetes cluster was created |
| csienabled | Indicates if the CloudStack CSI driver has been setup in the cluster |
| description | the description of the Kubernetes cluster |
| domain | the name of the domain in which the Kubernetes cluster exists |
| domainid | the ID of the domain in which the Kubernetes cluster exists |
| domainpath | path of the domain to which the Kubernetes cluster belongs |
| endpoint | URL end point for the Kubernetes cluster |
| etcdips | Public IP Addresses of the etcd nodes |
| etcdnodes | the number of the etcd nodes on the Kubernetes cluster |
| etcdofferingid | the ID of the service offering of the etcd nodes on the Kubernetes cluster |
| etcdofferingname | the name of the service offering of the etcd nodes on the Kubernetes cluster |
| ipaddress | Public IP Address of the cluster |
| ipaddressid | Public IP Address ID of the cluster |
| keypair | keypair details |
| kubernetesversionid | the ID of the Kubernetes version for the Kubernetes cluster |
| kubernetesversionname | the name of the Kubernetes version for the Kubernetes cluster |
| masternodes | the master nodes count for the Kubernetes cluster. This parameter is deprecated, please use 'controlnodes' parameter. |
| maxsize | Maximum size of the cluster |
| memory | the memory the Kubernetes cluster |
| minsize | Minimum size of the cluster |
| name | the name of the Kubernetes cluster |
| networkid | the ID of the network of the Kubernetes cluster |
| project | the project name of the Kubernetes cluster |
| projectid | the project id of the Kubernetes cluster |
| serviceofferingid | the ID of the service offering of the Kubernetes cluster |
| serviceofferingname | the name of the service offering of the Kubernetes cluster |
| size | the size (worker nodes count) of the Kubernetes cluster |
| state | the state of the Kubernetes cluster |
| templateid | the ID of the template of the Kubernetes cluster |
| templatename | the name of the template of the Kubernetes cluster |
| virtualmachines | the list of virtualmachine associated with this Kubernetes cluster |
| workerofferingid | the ID of the service offering of the worker nodes on the Kubernetes cluster |
| workerofferingname | the name of the service offering of the worker nodes on the Kubernetes cluster |
| zoneid | the name of the zone of the Kubernetes cluster |
| zonename | the name of the zone of the Kubernetes cluster |