From 59624e003c48e3ffe30ca682e6320fd752d34469 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Wed, 19 Sep 2018 16:43:18 -0700 Subject: [PATCH] Updated 10.1 Deploying to Kubernetes (AKS and local) using Helm Charts (markdown) --- ...-to-Kubernetes-(AKS-and-local)-using-Helm-Charts.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/10.1-Deploying-to-Kubernetes-(AKS-and-local)-using-Helm-Charts.md b/10.1-Deploying-to-Kubernetes-(AKS-and-local)-using-Helm-Charts.md index 6aac04a..349ae93 100644 --- a/10.1-Deploying-to-Kubernetes-(AKS-and-local)-using-Helm-Charts.md +++ b/10.1-Deploying-to-Kubernetes-(AKS-and-local)-using-Helm-Charts.md @@ -5,7 +5,7 @@ It is possible to deploy eShopOnContainers on a AKS using [Helm](https://helm.sh ## Create Kubernetes cluster in AKS 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 @@ -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) -- 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) @@ -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. -### 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 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: