Partilhar via


HybridContainerServiceExpander Struct

Definition

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

public readonly struct HybridContainerServiceExpander : IEquatable<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceExpander>
type HybridContainerServiceExpander = struct
Public Structure HybridContainerServiceExpander
Implements IEquatable(Of HybridContainerServiceExpander)
Inheritance
HybridContainerServiceExpander
Implements

Constructors

HybridContainerServiceExpander(String)

Initializes a new instance of HybridContainerServiceExpander.

Properties

LeastWaste

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.

MostPods

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.

Priority

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

Random

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

Methods

Equals(HybridContainerServiceExpander)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(HybridContainerServiceExpander, HybridContainerServiceExpander)

Determines if two HybridContainerServiceExpander values are the same.

Implicit(String to HybridContainerServiceExpander)

Converts a string to a HybridContainerServiceExpander.

Inequality(HybridContainerServiceExpander, HybridContainerServiceExpander)

Determines if two HybridContainerServiceExpander values are not the same.

Applies to