问题描述
我使用 Azure CLI 在 Azure Kubernetes Service (AKS) cluster 上创建了一个 Windows Server 容器。在尝试将我的 aspnet core
应用程序部署到 AKS 集群时,我被困在上述链接的 this step 上。我的 sample.yaml
硬盘驱动器上有 Windows-10
文件,需要使用以下命令在 Azure cloud shell 中运行:
kubectl apply -f sample.yaml
问题:我可以将上面的 sample.yaml
文件放在哪里,以便我可以在 Azure Cloud Shell
中运行上面的命令?我假设它可能必须在我的 Azure 存储帐户中的某个位置,但它应该放在什么地方,以便上面的命令可以识别它的路径?目前它给出了一个预期的错误:the path "sample.yaml" does not exist