kubectl-plugins

aks-versions

List Kubernetes versions available in an Azure region.

kubectl aks-versions [--location REGION] [--patches]

Prints the versions AKS offers in a region, newest first, with default and preview flags, support plan and patch versions. Without --location it uses the region of the cluster in your current kube context (see AKS targeting).

FlagDescription
--locationAzure region, for example eastus
--patchesOne row per patch version, with the versions it can upgrade to
-o jsonJSON output
kubectl aks-versions
kubectl aks-versions --location westeurope --patches

The binary is named kubectl-aks_versions; make install creates it.