this project shows example of deploying Setel app using Kubernetes. We will have 3 services (including 1 SPA react-app) and also postgresql service as the database. All of the service is already being hosted at DockerHub
Requirement
- Docker
- Minikube
- Kubectl
Quick Start
build for both db
and app
folder by running:
$ kubectl apply -f db/
$ kubectl apply -f app/
this will build all the necessary delpoyment and service.
next run migrations on both order
and payment
service:
$ kubectl exec <namespace> npm run reset
you can get the pod name by running:
$ kubectl get pods
TBC......