Updated 10. Setting the solution up in ACS Kubernetes (markdown)
parent
7cb5392b31
commit
ff6819b0e1
@ -193,6 +193,7 @@ Type the following in your command prompt:
|
|||||||
After logging in with a supported account identity, you can use either Azure Resource Manager mode or Azure Service Management mode CLI commands.
|
After logging in with a supported account identity, you can use either Azure Resource Manager mode or Azure Service Management mode CLI commands.
|
||||||
|
|
||||||
3. **Select your Azure subscription** You might have [several Azure subscriptions](https://docs.microsoft.com/en-us/cli/azure/account#set) as shown if you type the following.
|
3. **Select your Azure subscription** You might have [several Azure subscriptions](https://docs.microsoft.com/en-us/cli/azure/account#set) as shown if you type the following.
|
||||||
|
|
||||||
>```
|
>```
|
||||||
>az account list
|
>az account list
|
||||||
>```
|
>```
|
||||||
@ -262,13 +263,16 @@ Right after running that command you now will have the file `config` with the ne
|
|||||||
Or you an also verify connectivity to the ACS Kubernetes cluster by running `kubectl cluster-info`:
|
Or you an also verify connectivity to the ACS Kubernetes cluster by running `kubectl cluster-info`:
|
||||||
<img src="img/kubernetes/kubernetes-cli-cluster-info.png">
|
<img src="img/kubernetes/kubernetes-cli-cluster-info.png">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* For further info about `az` tool and Kubernetes see the Azure Container Service [walkthrough](https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough).
|
* For further info about `az` tool and Kubernetes see the Azure Container Service [walkthrough](https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough).
|
||||||
* `az` is also helpful for getting the credentials `kubectl` needs to access your cluster. For other installation options, and information about configuring `kubectl` yourself, see the [Kubernetes documentation](https://kubernetes.io/docs/tasks/kubectl/install/).
|
* `az` is also helpful for getting the credentials `kubectl` needs to access your cluster. For other installation options, and information about configuring `kubectl` yourself, see the [Kubernetes documentation](https://kubernetes.io/docs/tasks/kubectl/install/).
|
||||||
* For further info to connect to a Kubenetes cluster in ACS, see: [Connecting to a Kubernetes cluster in ACS](https://docs.microsoft.com/en-us/azure/container-service/container-service-connect)
|
* For further info to connect to a Kubenetes cluster in ACS, see: [Connecting to a Kubernetes cluster in ACS](https://docs.microsoft.com/en-us/azure/container-service/container-service-connect)
|
||||||
|
|
||||||
## Deploying eShopOnContainers to Kubernetes in ACS (Azure Container Service) with the deployment script
|
## Deploying eShopOnContainers to Kubernetes in ACS (Azure Container Service) with the deployment script
|
||||||
|
|
||||||
|
**Prerequisites** Before publishing the code to k8s you should have compiled and published your code to `obj/Docker/publish` folder (on any project path). The best way to do it is to run the `/cli-windows/buid-bits.ps1` script in windows or the `/cli-linux/build-bits-linux.sh` on Linux or the `/cli-mac/build-bits.sh` on Mac.
|
||||||
|
|
||||||
|
If you prefer, you can force the `publish.ps1` script to build and publish the code for you using the `-buildBits $true` parameter. Using this parameter the publishing script will recompile and republish all projects (default value is `$false`).
|
||||||
|
|
||||||
We have simplified the deployment so you can do it just by executing a script by following the following few steps:
|
We have simplified the deployment so you can do it just by executing a script by following the following few steps:
|
||||||
|
|
||||||
1. Open a PowerShell command line at the `k8s` directory of your local eShopOnContainers repository.
|
1. Open a PowerShell command line at the `k8s` directory of your local eShopOnContainers repository.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user