Expander Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If not specified, the default is 'random'. See expanders for more information.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ExpanderTypeConverter))]
public struct Expander : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Expander>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ExpanderTypeConverter))>]
type Expander = struct
interface IArgumentCompleter
Public Structure Expander
Implements IArgumentCompleter, IEquatable(Of Expander)
- Inheritance
-
Expander
- Attributes
- Implements
Fields
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
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(Expander) |
Compares values of enum type Expander |
Equals(Object) |
Compares values of enum type Expander (override for Object) |
GetHashCode() |
Returns hashCode for enum Expander |
ToString() |
Returns string representation for Expander |
Operators
Equality(Expander, Expander) |
Overriding == operator for enum Expander |
Implicit(Expander to String) |
Implicit operator to convert Expander to string |
Implicit(String to Expander) |
Implicit operator to convert string to Expander |
Inequality(Expander, Expander) |
Overriding != operator for enum Expander |