From 730316df7738d3977123070f91342b70709216a2 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Thu, 17 May 2018 13:19:21 -0700 Subject: [PATCH] Updated 10. Setting the solution up in AKS (Azure Kubernetes Service) (markdown) --- ...on-up-in-AKS-(Azure-Kubernetes-Service).md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 4635c6b..8df163d 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 @@ -51,5 +51,24 @@ For example just by running the following cli script it would create to create t **Important**: Note the parameter "-createAcr true". If you are creating the K8s cluster but you want to re-use and existing ACR, say "-createAcr false". +### Step-by-step + +* Authenticate in Azure using the CLI +Before running the eShopOnContainers **gen-k8s-env-aks.ps1** script or manually creating the clusters, you first need to authenticate from a PowerShell window, with: +`az login` +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. +If you need to change it, do it with this command: + +`az account set --subscription "YOUR-SUBSCRIPTION-NAME"` + + +