Class NodePool (2.0.1)

NodePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
name str
The name of the node pool.
config .cluster_service.NodeConfig
The node configuration of the pool.
initial_node_count int
The initial node count for the pool. You must ensure that your Compute Engine `resource quota
self_link str
[Output only] Server-defined URL for the resource.
version str
The version of the Kubernetes of this node.
instance_group_urls Sequence[str]
[Output only] The resource URLs of the `managed instance groups
status .cluster_service.NodePool.Status
[Output only] The status of the nodes in this pool instance.
status_message str
[Output only] Additional information about the current status of this node pool instance, if available.
autoscaling .cluster_service.NodePoolAutoscaling
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
management .cluster_service.NodeManagement
NodeManagement configuration for this NodePool.
max_pods_constraint .cluster_service.MaxPodsConstraint
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
conditions Sequence[.cluster_service.StatusCondition]
Which conditions caused the current node pool state.
pod_ipv4_cidr_size int
[Output only] The pod CIDR block size per node in this node pool.

Classes

Status

Status(value)

The current status of the node pool instance.