A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/azure-stack/aks-hci/reference/ps/set-akshcinodepool below:

Set-AksHciNodePool for AKS hybrid - AKS enabled by Azure Arc

Synopsis

Scale a node pool within a Kubernetes cluster.

Syntax
Set-AksHciNodePool -clusterName <String>
                   -name <String>
                   -count <int>
                   -vmsize <String>
                   [-autoScaler <boolean>]
Description

Scale a node pool within a Kubernetes cluster.

Configure the number of nodes in a node pool
Set-AksHciNodePool -clusterName mycluster -name nodepool1 -count 3
Enable horizontal node autoscaler for the node pool

Note

This will only work if the horizontal autoscaler is enabled for the cluster.

Set-AksHciNodePool -clusterName mycluster -name nodepool1 -autoScaler $true
Disable horizontal node autoscaler for the node pool

Note

This will only work if the horizontal autoscaler is enabled for the cluster.

Set-AksHciNodePool -clusterName mycluster -name nodepool1 -autoScaler $false
-clusterName

The name of the Kubernetes cluster.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-name

The name of your node pool.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-count

The number of nodes to scale to.

Type: System.Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-vmsize

Changes the node pool to a different VM size (SKU). See the Get-AksHciVmSize cmdlet reference to get the valid SKU identifiers.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-autoScaler

Toggle the horizontal autoscaler for a node pool

Type: System.Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Next steps

AksHci PowerShell Reference


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4