Map Reduce project for Engineering Distributed Infrastructure class at University of Warsaw
Link to initial project design docs.
- Create a new project on Google Cloud Platform
- Install Google Cloud SDK
- Authenticate with Google Cloud SDK
gcloud auth logingcloud config set project PROJECT_ID
- Run the setup script
src/scripts/setup_app_on_gcloud.sh
- Use GKE feature of port forwarding to a specific pod:
kubectl port-forward mapreduce-upload 8000:8000- Open browser and go to
localhost:8000
- After running
setup_app_on_gcloud.shscript You should see the message:MapReduce is now available at: http://<Address>- just go to that address
- Check the address of the service:
kubectl get svc mapreduce-upload-loadbalancer -o jsonpath='{.status.loadBalancer.ingress[0].ip}'
- To check for logs go to Logging --> Log-based metrics