Expander

enum Expander : Enum<Expander> , ConvertibleToJava<Expander>

If not specified, the default is 'random'. See expanders for more information.

Entries

Link copied to clipboard

Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources.

Link copied to clipboard

Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once.

Link copied to clipboard

Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here.

Link copied to clipboard

Used when you don't have a particular need for the node groups to scale differently.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: Expander
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): Expander
Link copied to clipboard
fun valueOf(value: String): Expander

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.