ClusterAutoscaling class
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
Constructors
-
ClusterAutoscaling({Input<
List< ? autoprovisioningLocations, Input<String> >AutoprovisioningNodePoolDefaults> ? autoprovisioningNodePoolDefaults, Input<ClusterAutoscalingAutoscalingProfile> ? autoscalingProfile, Input<bool> ? enableNodeAutoprovisioning, Input<List< ? resourceLimits})ResourceLimit> > -
Creates a new ClusterAutoscaling.
autoprovisioningLocationsThe list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.autoprovisioningNodePoolDefaultsAutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.autoscalingProfileDefines autoscaling behaviour.enableNodeAutoprovisioningEnables automatic node pool creation and deletion.resourceLimitsContains global constraints regarding minimum and maximum amount of resources in the cluster.const -
ClusterAutoscaling.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoprovisioningLocations
→ Input<
List< ?String> > -
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
final
-
autoprovisioningNodePoolDefaults
→ Input<
AutoprovisioningNodePoolDefaults> ? -
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
final
-
autoscalingProfile
→ Input<
ClusterAutoscalingAutoscalingProfile> ? -
Defines autoscaling behaviour.
final
-
enableNodeAutoprovisioning
→ Input<
bool> ? -
Enables automatic node pool creation and deletion.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resourceLimits
→ Input<
List< ?ResourceLimit> > -
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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