Get-AksHciNodePool

Synopsis

Lists the node pools in a Kubernetes cluster.

Syntax

Get-AksHciNodePool -clusterName <String>
                  [-name <String>]

Description

Lists the node pools in a Kubernetes cluster.

Examples

List all node pools in a Kubernetes cluster

Get-AksHCiNodePool -clusterName mycluster

List a specific node pool in a Kubernetes cluster

Get-AksHciNodePool -clusterName mycluster -name nodepool1
ClusterName : mycluster
NodePoolName : linuxnodepool
Version : v1.20.7
OsType : Linux
NodeCount : 10
VmSize : Standard_K8S3_v1
Phase : Deployed
AutoScalerEnabled : true

Parameters

-clusterName

The name of your cluster.

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

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

-name

The name of the node pool.

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

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

Next steps

AksHci PowerShell Reference