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< conditions, required Input<StatusConditionResponse> >NodeConfigResponse> config, required Input<String> etag, required Input<int> initialNodeCount, required Input<List< instanceGroupUrls, required Input<String> >List< locations, required Input<String> >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.
autoscalingAutoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.bestEffortProvisioningEnable best effort provisioning for nodesconditionsWhich 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. instanceGroupUrlsOutput onlyThe 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.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.placementPolicySpecifies the node placement policy. podIpv4CidrSizeOutput onlyThe pod CIDR block size per node in this node pool.queuedProvisioningSpecifies the configuration of queued provisioning. selfLinkOutput onlyServer-defined URL for the resource. statusOutput onlyThe status of the nodes in this pool instance. statusMessageOutput onlyDeprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available. updateInfoOutput onlyUpdate info contains relevant information during a node pool update.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.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 onlyThe 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 onlyThe 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
-
selfLink
→ Input<
String> -
Output onlyServer-defined URL for the resource.final -
status
→ Input<
String> -
Output onlyThe status of the nodes in this pool instance.final -
statusMessage
→ Input<
String> -
Output onlyDeprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.final -
updateInfo
→ Input<
UpdateInfoResponse> -
Output onlyUpdate 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