ClusterNodePoolAutoscaling

data class ClusterNodePoolAutoscaling(val locationPolicy: String? = null, val maxNodeCount: Int? = null, val minNodeCount: Int? = null, val totalMaxNodeCount: Int? = null, val totalMinNodeCount: Int? = null)

Constructors

Link copied to clipboard
constructor(locationPolicy: String? = null, maxNodeCount: Int? = null, minNodeCount: Int? = null, totalMaxNodeCount: Int? = null, totalMinNodeCount: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val locationPolicy: String? = null

Location policy specifies the algorithm used when scaling-up the node pool. "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones. "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations, and reduces preemption risk for Spot VMs.

Link copied to clipboard
val maxNodeCount: Int? = null

Maximum number of nodes per zone in the node pool. Must be >= min_node_count. Cannot be used with total limits.

Link copied to clipboard
val minNodeCount: Int? = null

Minimum number of nodes per zone in the node pool. Must be >=0 and <= max_node_count. Cannot be used with total limits.

Link copied to clipboard
val totalMaxNodeCount: Int? = null

Maximum number of all nodes in the node pool. Must be >= total_min_node_count. Cannot be used with per zone limits.

Link copied to clipboard
val totalMinNodeCount: Int? = null

Minimum number of all nodes in the node pool. Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.