Closed effelow closed 1 month ago
Describe the bug az command this line from the install.md
az aks get-versions --location $location --query "orchestrators[-1].orchestratorVersion" -o tsv
To Reproduce
paste the command
location="westus2" kubernetesVersion=$(az aks get-versions --location $location --query "orchestrators[-1].orchestratorVersion" -o tsv) echo $kubernetesVersion
Notive the variable $kubernetesVersion is empty.
$kubernetesVersion
Solution
Replace --queryparameter like so "values[?isDefault==`true`].version | [0]"
--query
kubernetesVersion=$(az aks get-versions --location $location --query "values[?isDefault==\`true\`].version | [0]" -o tsv)
install guide is now updated with new steps.
Describe the bug az command this line from the install.md
To Reproduce
paste the command
Notive the variable
$kubernetesVersion
is empty.Solution
Replace
--query
parameter like so "values[?isDefault==`true`].version | [0]"