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< ? conditions, Input<StatusCondition> >NodeConfig> ? config, Input<String> ? etag, Input<int> ? initialNodeCount, Input<String> ? location, Input<List< ? locations, Input<String> >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.
autoscalingAutoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.bestEffortProvisioningEnable best effort provisioning for nodesclusterIdDeprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.conditionsWhich conditions caused the current node pool state.configThe node configuration of the pool.etagThis 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.initialNodeCountThe 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.locationOptional.locationsThe 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.managementNodeManagement configuration for this NodePool.maxPodsConstraintThe constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.nameThe name of the node pool.networkConfigNetworking configuration for this NodePool. If specified, it overrides the cluster-level defaults.parentThe parent (project, location, cluster name) where the node pool will be created. Specified in the formatprojects/*/locations/*/clusters/*.placementPolicySpecifies the node placement policy.projectDeprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.queuedProvisioningSpecifies the configuration of queued provisioning.upgradeSettingsUpgrade settings control disruption and speed of the upgrade.versionThe version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described here.zoneDeprecated. 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