Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following commands and parameters are supported for the Azure Kubernetes Service (AKS) on Azure Stack Hub.
Supported commands
| Command | Description | Parameter/Required(*) |
|---|---|---|
| az aks create | Create a new managed Kubernetes cluster. | resource-group * service-principal * client-secret * load-balancer-sku * vm-set-type dns-name-prefix admin-username kubernetes-version generate-ssh-keys location network-plugin network-policy node-count nodepool-name vnet-subnet-id max-pods node-vm-size windows-admin-passsword windows-admin-username |
| az aks get-upgrades | Get the upgrade versions available for a managed Kubernetes cluster. | name * resource-group * |
| az aks list | List managed Kubernetes clusters. | location * |
| az aks get-versions | Get the versions available for creating a managed Kubernetes cluster. | |
| az aks show | Show the details for a managed Kubernetes cluster. | name * resource-group * |
| az aks get-credentials | Get access credentials for a managed Kubernetes cluster. | name * resource-group * admin |
| az aks delete | Delete a managed Kubernetes cluster. | |
| az aks scale | Scale the node pool in a managed Kubernetes cluster. | name * resource-group * node-count * |
| az aks upgrade | Upgrade a managed Kubernetes cluster to a newer version. | name * resource-group * kubernetes-version * control-plane-only |
| az aks install-cli | Download and install kubectl, the Kubernetes command-line tool. Download and install kubelogin, a client-go credential (exec) plugin implementing Azure authentication. | |
| az aks nodepool list | List node pools in the managed Kubernetes cluster. | name * resource-group * |
| az aks nodepool show | Show the details for a node pool in the managed Kubernetes cluster. | name * resource-group * |
| az aks nodepool get-upgrades | Get the available upgrade versions for an agent pool of the managed Kubernetes cluster. | name * resource-group * nodepool-name * |
| az aks nodepool upgrade | Upgrade the node pool in a managed Kubernetes cluster. | cluster-name * resource-group * name * kubernetes-version * |
| az aks nodepool scale | Scale the node pool in a managed Kubernetes cluster. | name * resource-group * nodepool-name node-count |