This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Deploy the AKS cluster | |
| az aks create --resource-group myResourceGroup --name myAKSCluster \ | |
| --node-count 1 --enable-addons monitoring --generate-ssh-keys \ | |
| --service-principal "208-1029....." --client-secret "ba208-2......" | |
| # Set the context for kubectl | |
| az aks get-credentials --resource-group myaks-rg --name aksdeepdive | |
| # Create a deployment | |
| kubectl run nodeapp --image=aksdeepdive.azurecr.io/node:v1 \ |