ClusterAutoscalingArgs

data class ClusterAutoscalingArgs(val autoprovisioningLocations: Output<List<String>>? = null, val autoprovisioningNodePoolDefaults: Output<AutoprovisioningNodePoolDefaultsArgs>? = null, val autoscalingProfile: Output<ClusterAutoscalingAutoscalingProfile>? = null, val enableNodeAutoprovisioning: Output<Boolean>? = null, val resourceLimits: Output<List<ResourceLimitArgs>>? = null) : ConvertibleToJava<ClusterAutoscalingArgs>

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

Link copied to clipboard
fun ClusterAutoscalingArgs(autoprovisioningLocations: Output<List<String>>? = null, autoprovisioningNodePoolDefaults: Output<AutoprovisioningNodePoolDefaultsArgs>? = null, autoscalingProfile: Output<ClusterAutoscalingAutoscalingProfile>? = null, enableNodeAutoprovisioning: Output<Boolean>? = null, resourceLimits: Output<List<ResourceLimitArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ClusterAutoscalingArgs

Properties

Link copied to clipboard
val autoprovisioningLocations: Output<List<String>>? = null

The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.

Link copied to clipboard

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Link copied to clipboard

Defines autoscaling behaviour.

Link copied to clipboard
val enableNodeAutoprovisioning: Output<Boolean>? = null

Enables automatic node pool creation and deletion.

Link copied to clipboard
val resourceLimits: Output<List<ResourceLimitArgs>>? = null

Contains global constraints regarding minimum and maximum amount of resources in the cluster.