Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.3 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.3 KB

msi_ingress

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.

Instructions

Clone the repository

There is a demo in the zip file

Open the terminal and cd into the cloned repository

Run minikube start Run minikube addons enable ingress and last run minikube tunnel.

Open another terminal in the same directory

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).

Untitled

Once everything is running check the first terminal and go to the address specified (normally 127.0.0.1)

appeng

Running kubectl apply -f k8s2 updates the site(blue/green update)

slo

On path /multistage there is a Express server built with multi-stage builds.