Simple book review app using Kubernetes and Ingress. It uses React for the frontend, Express for backend and Mongo for database. There is another Express server build with multi-stage builds to satifsy the task for grading.
Run minikube start
Run minikube addons enable ingress
and last run minikube tunnel
.
Run kubectl apply -f k8s
and wait (it takes a little bit longer) until everything is up and running (use the command kubectl get pods
or kubectl get all
to check the status).
Once everything is running check the first terminal and go to the address specified (normally 127.0.0.1)
Running kubectl apply -f k8s2
updates the site(blue/green update)
On path /multistage
there is a Express server built with multi-stage builds.