From fec823056f19e62b226e74d33bf9b0216ca6e5c5 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Thu, 17 May 2018 15:49:08 -0700 Subject: [PATCH] Updated 10. Setting the solution up in AKS (Azure Kubernetes Service) (markdown) --- ...solution-up-in-AKS-(Azure-Kubernetes-Service).md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 4801f97..a75ddf4 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 @@ -99,27 +99,34 @@ To open your Kubernetes dashboard, complete the following steps: * Open Azure CLI version 2.0.27 or later in PowerShell or CommandLine window. This will not work in cloud shell and must be running on your local machine. * If you do not already have `kubectl` installed in your CLI, run the following command: - +NOTE: Make sure you run with admin privileges so you don't get a "Permission denied: C:\\Program Files (x86)\\kubectl.exe". + >``` >az aks install-cli >``` +![image](https://user-images.githubusercontent.com/1712635/40207409-3bbddacc-59e9-11e8-981e-6193fd66ddda.png) + * Get the credentials for your cluster by running the following command: >``` >az aks get-credentials --resource-group YoureShopAksResgroup --name YoureShopAksCluster >``` +![image](https://user-images.githubusercontent.com/1712635/40207443-61aaf71a-59e9-11e8-9765-6baaa03746d0.png) + * Open the Kubernetes dashboard by running the following command: >``` >az aks browse --resource-group YoureShopAksResgroup --name YoureShopAksCluster >``` -You should see the Kubernetes dashboard, similar to the following screenshot: +This command runs the Kubernetes proxy (so you can access the remote dashboard through the 127.0.0.1 IP) while it opens the dashboard in a browser. You could also do those steps manually, though. +You should see the Kubernetes dashboard, similar to the following screenshot if you click on the nodes menu option: + +![image](https://user-images.githubusercontent.com/1712635/40207519-c6c2e4e6-59e9-11e8-8f9e-60f6a15ef3ab.png) -XXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Deploy the eShopOnContainers application into the Kuberentes cluster with the deployment script