Updated 10.1 Deploying to Kubernetes (AKS and local) using Helm Charts (markdown)

Cesar De la Torre 2018-09-19 16:43:18 -07:00
parent a74ba31932
commit 59624e003c

@ -5,7 +5,7 @@ It is possible to deploy eShopOnContainers on a AKS using [Helm](https://helm.sh
## Create Kubernetes cluster in AKS ## Create Kubernetes cluster in AKS
You can create the AKS cluster by using two ways: You can create the AKS cluster by using two ways:
- A. Use Azure CLI: Follow a procedure suing [Azure CLI like here](https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough), but make sure you enable RBAC. - A. Use Azure CLI: Follow a procedure suing [Azure CLI like here](https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough), but make sure you **enable RBAC** and **enable application routing** with `--enable-addons http_application_routing` in `az aks create` command.
- B. Use Azure's portal - B. Use Azure's portal
@ -19,7 +19,9 @@ The following steps are using the Azure portal to create the AKS cluster:
![image](https://user-images.githubusercontent.com/1712635/45780917-8bc2cc80-bc13-11e8-87ac-2942b3c7496d.png) ![image](https://user-images.githubusercontent.com/1712635/45780917-8bc2cc80-bc13-11e8-87ac-2942b3c7496d.png)
- You can use basic network settings since for a test you don't need integration into any existing VNET: - **Enable http routing**. Make sure to check the checkbox "Http application routing" on "Networking" settings. For more info, read the [documentation](https://docs.microsoft.com/en-us/azure/aks/http-application-routing)
You can use **basic network** settings since for a test you don't need integration into any existing VNET.
![image](https://user-images.githubusercontent.com/1712635/45780991-b745b700-bc13-11e8-926b-afac57229d0a.png) ![image](https://user-images.githubusercontent.com/1712635/45780991-b745b700-bc13-11e8-926b-afac57229d0a.png)
@ -83,10 +85,6 @@ automountServiceAccountToken: true
Save the file and close the editor. This should reapply the deployment in the cluster. Now Helm commands should work. Save the file and close the editor. This should reapply the deployment in the cluster. Now Helm commands should work.
### AKS created with _http routing_ enabled (optional but recommended)
If creating AKS using CLI be sure to use `--enable-addons http_application_routing` in `az aks create` command. If using Azure Portal just be sure to check the checkbox "Http application routing" on "Networking" settings. For more info, read the [documentation](https://docs.microsoft.com/en-us/azure/aks/http-application-routing)
## Install eShopOnContainers using Helm ## Install eShopOnContainers using Helm
All steps need to be performed on `/k8s/helm` folder. The easiest way is to use the `deploy-all.ps1` script from a Powershell window: All steps need to be performed on `/k8s/helm` folder. The easiest way is to use the `deploy-all.ps1` script from a Powershell window: