NodePoolArgs class

The set of arguments for NodePool. The set of arguments for NodePool.

Constructors

NodePoolArgs({Input<NodePoolAutoscaling>? autoscaling, Input<BestEffortProvisioning>? bestEffortProvisioning, required Input<String> clusterId, Input<List<StatusCondition>>? conditions, Input<NodeConfig>? config, Input<String>? etag, Input<int>? initialNodeCount, Input<String>? location, Input<List<String>>? locations, Input<NodeManagement>? management, Input<MaxPodsConstraint>? maxPodsConstraint, Input<String>? name, Input<NodeNetworkConfig>? networkConfig, Input<String>? parent, Input<PlacementPolicy>? placementPolicy, Input<String>? project, Input<QueuedProvisioning>? queuedProvisioning, Input<UpgradeSettings>? upgradeSettings, Input<String>? version, Input<String>? zone})
Creates a new NodePoolArgs. autoscaling Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. bestEffortProvisioning Enable best effort provisioning for nodes clusterId Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field. 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. location Optional. 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. parent The parent (project, location, cluster name) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*. placementPolicy Specifies the node placement policy. project Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field. 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. zone Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
const
NodePoolArgs.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
clusterId → Input<String>
Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
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
location → Input<String>?
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
parent → Input<String>?
The parent (project, location, cluster name) where the node pool will be created. Specified in the format projects/*/locations/*/clusters/*.
final
placementPolicy → Input<PlacementPolicy>?
Specifies the node placement policy.
final
project → Input<String>?
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
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
zone → Input<String>?
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
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