3. Deploy Nordmart Without Inventory Service
3.1. Overview
This section provides guidelines to deploy nordmart application.
3.2. Deployment Guideline
3.2.1. Clone the StakaterNordmart repository
git clone https://github.com/stakater/StakaterNordmart.git
1
# move inside the project directory
cd StakaterNordmart/
1
2
2
3.2.2. Run following command and enter namespace value when prompted, you should give a unique name like `` e.g `ali-12` and keep all characters lower case, and dont use underscore in the namespace name.
bash scripts/deploy.sh
1
3.2.3. All Nordmart Application microservices will be installed in namespace provided in the previous step. To verify microservices installed correctly use the command given below
kubectl get pods -n NAMESPACE_NAME
1
or go to the console, go to Workloads -> Pods, Select your namespace, and see everything is in running state or not.
In the current state all the microservices except inventory will be deployed, Nordmart application can be access on this link:
URL EXAMPLE: web-<NAMESPACE_NAME>.<DOMAIN>/
NAMESPACE_NAME: the namespace name you specified
DOMAIN: the domain of the cluster that IBM provides us
1
2
3
2
3
You will get this url at the end of the script.