Updated 10. Setting the solution up in AKS (Azure Kubernetes Service) (markdown)
parent
730316df77
commit
112124fcc4
@ -61,6 +61,7 @@ Follow the procedure.
|
|||||||
* Select the right Azure subscription to use
|
* Select the right Azure subscription to use
|
||||||
It is very common to have access to multiple Azure subscriptions.
|
It is very common to have access to multiple Azure subscriptions.
|
||||||
You can list your available subscriptions with:
|
You can list your available subscriptions with:
|
||||||
|
|
||||||
`az account list -o table`
|
`az account list -o table`
|
||||||
|
|
||||||
And check which subscription is being used by default.
|
And check which subscription is being used by default.
|
||||||
@ -68,7 +69,16 @@ If you need to change it, do it with this command:
|
|||||||
|
|
||||||
`az account set --subscription "YOUR-SUBSCRIPTION-NAME"`
|
`az account set --subscription "YOUR-SUBSCRIPTION-NAME"`
|
||||||
|
|
||||||
|
* Run the script to create the Kubernetes cluster (and optionally the ACR registry) in Azure
|
||||||
|
Open PowerShell and position in the folder where the script is placed:
|
||||||
|
|
||||||
|
`cd <YOUR-APTH>\eShopOnContainers\k8s`
|
||||||
|
|
||||||
|
Run the following script:
|
||||||
|
|
||||||
|
>```
|
||||||
|
>./gen-k8s-env-aks -resourceGroupName k8sGroup -location westeurope -registryName k8sregistry -dnsName k8s-dns -serviceName k8s-cluster -createAcr true -nodeCount 3 -nodeVMSize Standard_D2_v2
|
||||||
|
>```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user