Make sure that you have the following installed:
cd client
npm install
npm start
cd ../backend
npm install
npm start
- Login to GCP and create a Kubernetes Cluster on GKE
- Execute the following commands to deploy yolomy frontend, backend and mongo db
- Create Mongodb Deployment and Service
kubectl create -f mongodb.yml
- Confirm the service creation by executing
kubectl get svc
- Confirm the pod creation by executing
kubectl get pods
- Create Yolomy Client Deployment and Service
kubectl create -f yolomy-client.yml
- Confirm the service creation by executing
kubectl get svc
- Confirm the pod creation by executing
kubectl get pods
- Create Yolomy Client Deployment and Service
kubectl create -f yolomy-backend.yml
- Confirm the service creation by executing
kubectl get svc
- Confirm the pod creation by executing
kubectl get pods
To get the service IP, run below commands and get the value for clusterIP:
kubectl get service yolomy-client --output yaml
kubectl get service yolomy-backend --output yaml
- Demo on Minikube