I have created a Windows Server container on an Azure Kubernetes Service (AKS) cluster using the Azure CLI. While trying to deploy my aspnet core
app to the AKS cluster, I am stuck on this step of the above link. I have sample.yaml
file on my Windows-10
hard drive that needs to run in the Azure cloud shell using the following command:
kubectl apply -f sample.yaml
Question: Where can I place the above sample.yaml
file so I can run the above command in Azure Cloud Shell
? I am assuming it probably has to be somewhere in my Azure storage account but where exactly it should be placed so above command can recognize its path? Currently it's giving an expected error: the path "sample.yaml" does not exist
relative or absolute path
from the hard drive either. It seems the files has to be somewhere inside Azure. – nam