This project contains a simple application to be deployed on kubernetes as part of an assignment for the k8s course at Polytech Montpellier.
There are 5 versions branches to explore:
v1-> the initial version of the appv2-> migrations: setlocationfield to nullable | api: write, no read onlocationv3-> migrations: no change to DB schema | api: no write, no read onlocationv4-> migrations: delete columnlocationwasm-> to test deploying a service using WASI
Prerequisites: a k8s instance, you can easily create one with kind/k3d/...
- Deploy with:
 
make kube-deploy # or use the commands in the Makefile- Once the pods are all running, you can portforward the web service to access it:
 
make kube-portforwardNote: To stop the app, you can run make kube-delete.
- You can start the dev environment with
 
make dev # or docker compose up -d- When you're done, stop it with
 
make dev-stop # or docker compose down