Updated 10.1 Deploying to Kubernetes (AKS and local) using Helm Charts (markdown)
parent
a836ed52de
commit
06158f37eb
@ -2,7 +2,49 @@
|
||||
|
||||
It is possible to deploy eShopOnContainers on a AKS using [Helm](https://helm.sh/) instead of custom scripts (that will be deprecated soon).
|
||||
|
||||
## Pre-requisites
|
||||
## Create Kubernetes cluster in AKS
|
||||
You can create the AKS cluster by using two ways:
|
||||
|
||||
- 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.
|
||||
|
||||
- Use Azure's portal
|
||||
|
||||
The following steps are using the Azure portal to create the AKS cluster:
|
||||
|
||||
- Start the process by providing the general data, like in the following screenshot:
|
||||
|
||||

|
||||
|
||||
- Then, very important, in the next step, enable RBAC:
|
||||
|
||||

|
||||
|
||||
- You can use basic network settings since for a test you don't need integration into any existing VNET:
|
||||
|
||||

|
||||
|
||||
- You can also enable monitoring:
|
||||
|
||||

|
||||
|
||||
- Finally, in order NOT to get errors in the Kubernetes dashboard like the following, you'll need to set the following service-account steps.
|
||||
|
||||

|
||||
|
||||
- Because the cluster is using RBAC, you need to grant needed rights to the Service Account `kubernetes-dashboard`:
|
||||
|
||||
`kubectl create clusterrolebinding kubernetes-dashboard -n kube-system --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard`
|
||||
|
||||

|
||||
|
||||
Now, just run the Azure CLI command to browse the Kubernetes Dashboard:
|
||||
|
||||
`az aks browse --resource-group pro-eshop-aks-helm-linux-resgrp --name pro-eshop-aks-helm-linux`
|
||||
|
||||

|
||||
|
||||
|
||||
## Additional pre-requisites
|
||||
|
||||
In addition to having an AKS cluster created in Azure and having kubectl and Azure CLI installed in your local machine and configured to use your Azure subscription, you also need the following pre-requisites:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user