NodePool class

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.

Constructors

NodePool({Input<NodePoolAutoscaling>? autoscaling, Input<BestEffortProvisioning>? bestEffortProvisioning, Input<List<StatusCondition>>? conditions, Input<NodeConfig>? config, Input<String>? etag, Input<int>? initialNodeCount, Input<List<String>>? locations, Input<NodeManagement>? management, Input<MaxPodsConstraint>? maxPodsConstraint, Input<String>? name, Input<NodeNetworkConfig>? networkConfig, Input<PlacementPolicy>? placementPolicy, Input<QueuedProvisioning>? queuedProvisioning, Input<UpgradeSettings>? upgradeSettings, Input<String>? version})
Creates a new NodePool. autoscaling Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. bestEffortProvisioning Enable best effort provisioning for nodes conditions Which conditions caused the current node pool state. config The node configuration of the pool. etag This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. 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. If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed. 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. name The name of the node pool. networkConfig Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults. placementPolicy Specifies the node placement policy. queuedProvisioning Specifies the configuration of queued provisioning. upgradeSettings Upgrade settings control disruption and speed of the upgrade. version The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
const
NodePool.fromMap(Map<String, dynamic> map)
factory

Properties

autoscaling → Input<NodePoolAutoscaling>?
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
final
bestEffortProvisioning → Input<BestEffortProvisioning>?
Enable best effort provisioning for nodes
final
conditions → Input<List<StatusCondition>>?
Which conditions caused the current node pool state.
final
config → Input<NodeConfig>?
The node configuration of the pool.
final
etag → Input<String>?
This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
final
hashCode → int
The hash code for this object.
no setterinherited
initialNodeCount → Input<int>?
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.
final
locations → Input<List<String>>?
The list of Google Compute Engine zones in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
final
management → Input<NodeManagement>?
NodeManagement configuration for this NodePool.
final
maxPodsConstraint → Input<MaxPodsConstraint>?
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
final
name → Input<String>?
The name of the node pool.
final
networkConfig → Input<NodeNetworkConfig>?
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
final
placementPolicy → Input<PlacementPolicy>?
Specifies the node placement policy.
final
queuedProvisioning → Input<QueuedProvisioning>?
Specifies the configuration of queued provisioning.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
upgradeSettings → Input<UpgradeSettings>?
Upgrade settings control disruption and speed of the upgrade.
final
version → Input<String>?
The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited