How to run this solution:
- Via
dotnet run --project src/PrintCalculator.API/PrintCalculator.API.csproj
in root folder for local testing purposes - Via helm:
- Navigate to the root folder (src, chart has to be visible)
docker build -f src/PrintCalculator.API/Dockerfile -t hhglobal-printcalculatork8s:v1 .
to build the imagehelm install hhglobal-print-calculator ./chart/
kubectl get all --selector app=PrintCalculator
to verify that the pod is runningkubectl port-forward service/hhglobal-print-calculator-service 5265:8888
to redirect HTTP traffic to our pod- Run postman tests (can be found in
assets
folder) helm uninstall hhglobal-print-calculator
once you are done