Resource: NodePool
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
JSON representation | |
---|---|
{ "name": string, "config": { object ( |
Fields | |
---|---|
name |
The name of the node pool. |
config |
The node configuration of the pool. |
initialNodeCount |
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. |
locations[] |
The list of Google Compute Engine zones in which the NodePool's nodes should be located. |
selfLink |
[Output only] Server-defined URL for the resource. |
version |
The version of the Kubernetes of this node. |
instanceGroupUrls[] |
[Output only] The resource URLs of the managed instance groups associated with this node pool. |
status |
[Output only] The status of the nodes in this pool instance. |
statusMessage |
[Output only] Additional information about the current status of this node pool instance, if available. |
autoscaling |
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. |
management |
NodeManagement configuration for this NodePool. |
maxPodsConstraint |
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. |
conditions[] |
Which conditions caused the current node pool state. |
podIpv4CidrSize |
[Output only] The pod CIDR block size per node in this node pool. |
upgradeSettings |
Upgrade settings control disruption and speed of the upgrade. |
Methods |
|
---|---|
|
Sets the autoscaling settings of a specific node pool. |
|
Creates a node pool for a cluster. |
|
Deletes a node pool from a cluster. |
|
Retrieves the requested node pool. |
|
Lists the node pools for a cluster. |
|
Rolls back a previously Aborted or Failed NodePool upgrade. |
|
Sets the NodeManagement options for a node pool. |
|
Sets the size for a specific node pool. |
|
Updates the version and/or image type of a specific node pool. |