1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 04:55:28 +02:00
tldr/pages/common/az-aks.md

833 B

az aks

Manage Azure Kubernetes Service (AKS) clusters. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/aks.

  • List AKS clusters:

az aks list {{[-g|--resource-group]}} {{resource_group}}

  • Create a new AKS cluster:

az aks create {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}} {{[-c|--node-count]}} {{count}} --node-vm-size {{size}}

  • Delete an AKS cluster:

az aks delete {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}

  • Get the access credentials for an AKS cluster:

az aks get-credentials {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}

  • Get the upgrade versions available for an AKS cluster:

az aks get-upgrades {{[-g|--resource-group]}} {{resource_group}} {{[-n|--name]}} {{name}}