You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides shipping cost estimates based on the shopping cart (mock). Ships items to the given address and returns tracingId (mock).
How To Run
Prerequisites
Docker for Desktop
kubectl
skaffold
Minikube / kind
Local Cluster
Launch a local k8s cluster minikube start --cpus='2' --memory='3.9g' or kind create cluster.
Verify the cluster is operating minikube status and it's possible to connect to control plane kubectl get nodes.
Run skaffold run or skaffold dev. This will build and deploy the application. If skaffold dev is used it will rebuild the images automatically as you change the code.
Run kubectl get pods to verify that the Pods are operating well.
Run kubectl port-forward svc/api-gateway-service 8080:8080 to forward a port to the api-gateway service.
Use localhost:8080 to access the api-gateway service.
Cleanup
Use skaffold delete if you used skaffold run or just stop skaffold dev by pressing ctrl+c.
Run minikube stop to stop Minikube cluster or minikube delete to delete it.