无法在AKS中使用云shell安装Azure开发空间

无法在AKS中使用云shell安装Azure开发空间,azure,azure-aks,azure-dev-spaces,Azure,Azure Aks,Azure Dev Spaces,当我在Cloudshell中运行下面的命令时 az aks use-dev-spaces -g aksrgrp -n akscluster 我得到下面的错误。任何帮助都将不胜感激 You may be prompted for your administrator password to authorize the installation process. /tmp/tmpy1vng2we/azds-linux-setup.sh: line 84: sudo: command not fou

当我在Cloudshell中运行下面的命令时

az aks use-dev-spaces -g aksrgrp -n akscluster
我得到下面的错误。任何帮助都将不胜感激

You may be prompted for your administrator password to authorize the installation process.
/tmp/tmpy1vng2we/azds-linux-setup.sh: line 84: sudo: command not found
/tmp/tmpy1vng2we/azds-linux-setup.sh: line 112: sudo: command not found
[INFO]    Failed to install dotnet core dependencies.
[INFO]    You can manually install all required dependencies based on the following documentation:
[FATAL]   https://www.microsoft.com/net/download/dotnet-core/2.1
Azure Dev Spaces CLI not installed properly. Visit 'https://aka.ms/get-azds' for Azure Dev Spaces.

该错误显示了问题发生的原因。它找不到命令azds。因为云shell没有安装命令工具。您可以找到云shell中安装的所有命令工具

我建议你可以在Azure Kubernetes的Azure VM中安装你需要的工具,如果你没有找到你想要的工具


这对你来说是更好的方式。顺便说一句,云Shell只允许访问基于浏览器的命令行体验,该体验是根据Azure管理任务构建的。因此,在VM中安装Azure CLI是一种更好的体验

该错误显示了问题发生的原因。它找不到命令azds。因为云shell没有安装命令工具。您可以找到云shell中安装的所有命令工具

我建议你可以在Azure Kubernetes的Azure VM中安装你需要的工具,如果你没有找到你想要的工具


这对你来说是更好的方式。顺便说一句,云Shell只允许访问基于浏览器的命令行体验,该体验是根据Azure管理任务构建的。因此,在VM中安装Azure CLI是一种更好的体验

添加到Charles的答案中:Azure开发空间CLI当前不支持在云Shell中运行。它的功能设计更适合在您的本地开发机器上运行,而您的应用程序的源代码就在那里。

添加到Charles的回答中:Azure开发空间CLI目前不支持在云Shell中运行。它的功能更适合在本地开发人员机器上运行,而应用程序的源代码就在那里。

是什么原因使您取消标记答案?是什么原因使您取消标记答案?