Updated 10. Setting the solution up in AKS (Azure Kubernetes Service) (markdown)

Cesar De la Torre 2018-05-17 15:49:08 -07:00
parent be66082f67
commit fec823056f

@ -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. * 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: * 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 >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: * Get the credentials for your cluster by running the following command:
>``` >```
>az aks get-credentials --resource-group YoureShopAksResgroup --name YoureShopAksCluster >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: * Open the Kubernetes dashboard by running the following command:
>``` >```
>az aks browse --resource-group YoureShopAksResgroup --name YoureShopAksCluster >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 # Deploy the eShopOnContainers application into the Kuberentes cluster with the deployment script