|
|
@ -2,8 +2,10 @@ |
|
|
|
|
|
|
|
|
* Docker Desktop with Kubernetes enabled |
|
|
* Docker Desktop with Kubernetes enabled |
|
|
* Install [NGINX ingress](https://kubernetes.github.io/ingress-nginx/deploy/) for k8s |
|
|
* Install [NGINX ingress](https://kubernetes.github.io/ingress-nginx/deploy/) for k8s |
|
|
OR |
|
|
|
|
|
* Install NGINX ingress using helm |
|
|
OR |
|
|
|
|
|
|
|
|
|
|
|
Install NGINX ingress using helm |
|
|
```powershell |
|
|
```powershell |
|
|
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx |
|
|
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx |
|
|
helm repo update |
|
|
helm repo update |
|
|
@ -31,7 +33,7 @@ helm upgrade --install --version=4.0.19 ingress-nginx ingress-nginx/ingress-ngin |
|
|
127.0.0.1 eshop-st-gateway-web-public |
|
|
127.0.0.1 eshop-st-gateway-web-public |
|
|
```` |
|
|
```` |
|
|
|
|
|
|
|
|
* Run `build-images.ps1` in the `scripts` directory. |
|
|
* Run `build-images.ps1` in the `build` directory. |
|
|
* Run `deploy-staging.ps1` in the `helm-chart` directory. It is deployed with the `eshop` namespace. |
|
|
* Run `deploy-staging.ps1` in the `helm-chart` directory. It is deployed with the `eshop` namespace. |
|
|
* *You may wait ~30 seconds on first run for preparing the database*. |
|
|
* *You may wait ~30 seconds on first run for preparing the database*. |
|
|
* Browse https://eshop-st-public-web for public and https://eshop-st-web for web application |
|
|
* Browse https://eshop-st-public-web for public and https://eshop-st-web for web application |
|
|
|