Using VScode to deploy AKS to Azure, install all the neccesary extensions including Azure account & azure cli
az group create --name lastclass --location eastus
az aks create --resource-group lastclass --name myAKSCluster --node-count 1 --enable-addons monitoring --generate-ssh-keys
az aks install-cli
az aks get-credentials --resource-group lastclass --name myAKSCluster
kubectl get nodes
view the status
code.azure-vote.yaml
kubectl apply -f azure-vote.yaml
kubectl get service azure-vote-front --watch
The EXTERNAL-IP output for the azure-vote-front service will initially show as pending.
Once the EXTERNAL-IP address is visible, use CTRL-C to stop the kubectl watch process.
To see the Azure Vote app in action, open a web browser to the external IP address of your service.