NodePoolResponse 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

NodePoolResponse({required Input<NodePoolAutoscalingResponse> autoscaling, required Input<BestEffortProvisioningResponse> bestEffortProvisioning, required Input<List<StatusConditionResponse>> conditions, required Input<NodeConfigResponse> config, required Input<String> etag, required Input<int> initialNodeCount, required Input<List<String>> instanceGroupUrls, required Input<List<String>> locations, required Input<NodeManagementResponse> management, required Input<MaxPodsConstraintResponse> maxPodsConstraint, required Input<String> name, required Input<NodeNetworkConfigResponse> networkConfig, required Input<PlacementPolicyResponse> placementPolicy, required Input<int> podIpv4CidrSize, required Input<QueuedProvisioningResponse> queuedProvisioning, required Input<String> selfLink, required Input<String> status, required Input<String> statusMessage, required Input<UpdateInfoResponse> updateInfo, required Input<UpgradeSettingsResponse> upgradeSettings, required Input<String> version})
Creates a new NodePoolResponse. 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. instanceGroupUrls Output only The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources. 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. podIpv4CidrSize Output only The pod CIDR block size per node in this node pool. queuedProvisioning Specifies the configuration of queued provisioning. selfLink Output only Server-defined URL for the resource. status Output only The status of the nodes in this pool instance. statusMessage Output only Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available. updateInfo Output only Update info contains relevant information during a node pool update. 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
NodePoolResponse.fromMap(Map<String, dynamic> map)
factory

Properties

autoscaling → Input<NodePoolAutoscalingResponse>
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
final
bestEffortProvisioning → Input<BestEffortProvisioningResponse>
Enable best effort provisioning for nodes
final
conditions → Input<List<StatusConditionResponse>>
Which conditions caused the current node pool state.
final
config → Input<NodeConfigResponse>
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
instanceGroupUrls → Input<List<String>>
Output only The resource URLs of the managed instance groups associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.
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<NodeManagementResponse>
NodeManagement configuration for this NodePool.
final
maxPodsConstraint → Input<MaxPodsConstraintResponse>
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<NodeNetworkConfigResponse>
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
final
placementPolicy → Input<PlacementPolicyResponse>
Specifies the node placement policy.
final
podIpv4CidrSize → Input<int>
Output only The pod CIDR block size per node in this node pool.
final
queuedProvisioning → Input<QueuedProvisioningResponse>
Specifies the configuration of queued provisioning.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Output only Server-defined URL for the resource.
final
status → Input<String>
Output only The status of the nodes in this pool instance.
final
statusMessage → Input<String>
Output only Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
final
updateInfo → Input<UpdateInfoResponse>
Output only Update info contains relevant information during a node pool update.
final
upgradeSettings → Input<UpgradeSettingsResponse>
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