mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 15:42:31 +00:00
31 lines
836 B
Plaintext
31 lines
836 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 --resource-group {{resource_group}}`
|
|
|
|
- Create a new AKS cluster:
|
|
|
|
`az aks create --resource-group {{resource_group}} --name {{name}} --node-count {{count}} --node-vm-size {{size}}`
|
|
|
|
- Delete an AKS cluster:
|
|
|
|
`az aks delete --resource-group {{resource_group}} --name {{name}}`
|
|
|
|
- Get the access credentials for an AKS cluster:
|
|
|
|
`az aks get-credentials --resource-group {{resource_group}} --name {{name}}`
|
|
|
|
- Get the upgrade versions available for an AKS cluster:
|
|
|
|
`az aks get-upgrades --resource-group {{resource_group}} --name {{name}}`
|