ClusterClusterAutoscaling

data class ClusterClusterAutoscaling(val autoProvisioningDefaults: ClusterClusterAutoscalingAutoProvisioningDefaults? = null, val autoProvisioningLocations: List<String>? = null, val autoscalingProfile: String? = null, val enabled: Boolean? = null, val resourceLimits: List<ClusterClusterAutoscalingResourceLimit>? = null)

Constructors

Link copied to clipboard
constructor(autoProvisioningDefaults: ClusterClusterAutoscalingAutoProvisioningDefaults? = null, autoProvisioningLocations: List<String>? = null, autoscalingProfile: String? = null, enabled: Boolean? = null, resourceLimits: List<ClusterClusterAutoscalingResourceLimit>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Contains defaults for a node pool created by NAP. A subset of fields also apply to GKE Autopilot clusters. Structure is documented below.

Link copied to clipboard

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

Link copied to clipboard

Configuration options for the Autoscaling profile feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be BALANCED or OPTIMIZE_UTILIZATION. Defaults to BALANCED.

Link copied to clipboard
val enabled: Boolean? = null

Whether node auto-provisioning is enabled. Must be supplied for GKE Standard clusters, true is implied for autopilot clusters. Resource limits for cpu and memory must be defined to enable node auto-provisioning for GKE Standard.

Link copied to clipboard

Global constraints for machine resources in the cluster. Configuring the cpu and memory types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning. Structure is documented below.