When generating the Helm and Docker assets, the docs call for you to run azds prep --public. However, the azds command doesn't appear to be on my path, and I'm not sure what has installed it. I have installed version 2.0.38 of the azure-cli but can't get beyond this point in the docs.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@timjroberts-inty Thanks for your feedback! We will investigate and update as appropriate.
I can confirm that I have the dev-spaces-preview extension loaded:
> az extension list
[
{
"extensionType": "whl",
"name": "dev-spaces-preview",
"version": "0.1.6"
}
]
azds.exe should be in C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI (Preview)
If it's not there, you need to run: az aks use-dev-spaces -n [AKS cluster name] -g [resource group name]
We've seen a lot of confusion from customers (including myself, at first :) who start in Visual Studio and then switch to the CLI. They think that they don't need to run the use-dev-spaces command because they've already set up the AZDS controller in VS. But if they don't run that command, they never get azds.exe.
This would be good to add to the troubleshooting docs.
@ghogen In line with Lisa's response, let's get that added to the troubleshooting document.
Thanks @lisaguthrie. I'm not using Visual Studio, but instead VSCode and CLI on a Mac. I don't remember seeing or issuing the az aks use-dev-spaces ... command though, so that is likely it. I've stood down my test cluster at the moment, but I'll give it all another go sometime next week.
I was getting same error on VSCODE and CLI on windows 10. There were no errors reported for az aks use-dev-spaces ....... command.
Workaround/Fix: Restart VsCode and azds prep --public runs fine.
If you just installed the extension, you have to restart VS Code otherwise it can't find 'azds' in the path
I can confirm that my issue of the missing 'azds' command was because I hadn't run the 'az aks use-dev-spaces -n [AKS cluster name] -g [resource group name]' command. I've run through the tutorial again, and all works!
i'm having the same issue. i run 'az aks use-dev-spaces -g mygroup -n mycluster' and it responds with '[K - Searching ..' then it returns to the prompt and azds is not found.
@pjirsa I am getting the same issue as well. Installed on Ubuntu 19.04
Edit: Same behaviour on Windows 10
i also meet the issue for i run 'az aks use-dev-spaces -g mygroup -n mycluster' and it responds with '[K - Searching ..' what's the solution for it?
@JerryWang20 Did you get the solution? I'm going through the same mistake.
You may need install the latest version for Azure CLI, Azure fixed it in latest version.
The reason this happened to me was that I was only a co-admin on my azure subscription and not assigned the owner role via RBAC.
Most helpful comment
i'm having the same issue. i run 'az aks use-dev-spaces -g mygroup -n mycluster' and it responds with '[K - Searching ..' then it returns to the prompt and azds is not found.