From 112124fcc4c685ac66a18600b1609c9269309eca Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Thu, 17 May 2018 13:23:16 -0700 Subject: [PATCH] Updated 10. Setting the solution up in AKS (Azure Kubernetes Service) (markdown) --- ...-solution-up-in-AKS-(Azure-Kubernetes-Service).md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 +>```