Make sure you have the latest version of Docker installed.
Clone the repo:
git clone <repo-url>
Build the image:
docker built -t myapp .
Run the container:
docker run -d -p 8000:8000
Ensure Docker desktop is running. And if you're losing a local cluster like minikube then run minikube start
Apply the manifest file in ./kubernetes/
kubectl apply -f notes-app.yaml
This will create the deployment and ClusterIP service
To access the app with localhost, port-forward:
kubectl port-forward <pod-name> 5000:5000
Go to http://127.0.0.1:5000