diff --git a/10.-Setting-the-solution-up-in-AKS-(Azure-Kubernetes-Service).md b/10.-Setting-the-solution-up-in-AKS-(Azure-Kubernetes-Service).md index 8df163d..85b3331 100644 --- a/10.-Setting-the-solution-up-in-AKS-(Azure-Kubernetes-Service).md +++ b/10.-Setting-the-solution-up-in-AKS-(Azure-Kubernetes-Service).md @@ -61,6 +61,7 @@ Follow the procedure. * Select the right Azure subscription to use It is very common to have access to multiple Azure subscriptions. You can list your available subscriptions with: + `az account list -o table` And check which subscription is being used by default. @@ -68,7 +69,16 @@ If you need to change it, do it with this command: `az account set --subscription "YOUR-SUBSCRIPTION-NAME"` - +* Run the script to create the Kubernetes cluster (and optionally the ACR registry) in Azure +Open PowerShell and position in the folder where the script is placed: + +`cd \eShopOnContainers\k8s` + +Run the following script: + +>``` +>./gen-k8s-env-aks -resourceGroupName k8sGroup -location westeurope -registryName k8sregistry -dnsName k8s-dns -serviceName k8s-cluster -createAcr true -nodeCount 3 -nodeVMSize Standard_D2_v2 +>```