Updated 10. Setting the solution up in ACS Kubernetes (markdown)

Cesar De la Torre 2017-09-18 11:31:45 -07:00
parent cdd416f908
commit de60ea2b6e

@ -209,10 +209,12 @@ Type the following in your command prompt:
3. **Run the gen-k8s-env.ps1 script**. This will create the Azure environment needed. Basically a Kubernetes cluster where to deploy de containers and an Azure Container Registry where you will push the images in the first place. Make sure that you are positioned in the folder at the PowerShell prompt (like [eShopOnContainers folder]\k8s), the run the following command but with your own names and IDs.
>```
>./gen-k8s-env -resourceGroupName eShopAutogenk8sResGroup -location westus -registryName eShopAutogenContainerRegistry -orchestratorName eshop-autogen-k8s-cluster -dnsName eshop-autogen-k8s-dns
>```
**Important**: Note the parameter "-createAcr true". If you are re-creating the K8s cluster but you want to re-use and existing ACR, say "-createAcr false".
>```
>./gen-k8s-env -resourceGroupName eShopAutogenk8sResGroup -location westus -registryName eShopAutogenContainerRegistry -createAcr true -orchestratorName eshop-autogen-k8s-cluster -dnsName eshop-autogen-k8s-dns
>```
The execution should be similar to the following screenshot. It will take a few minutes to complete:
<img src="img/kubernetes/creating-kubernetes-cluster-and-acr.png">