Deploying standalone spark on minikube in 8 steps.
We could group make targets to reduce the number of steps. However, we decided to keep smaller targets so you can understand better what is happening.
-
Start a cluster with predefined memory and cpu.
make stop-cluster && make delete-cluster && make start-cluster
-
Build and Publish Docker image for Master and Workers nodes.
make publish version=versionNamberHere
-
Buld and Publish Spark UI Proxy Image to reduce the burden to accessing web UI of Spark on different pods.
make publish-proxy version=versionNumberHere
-
Create master node
make create-master
-
Create workers nodes
make create-workers
-
Create proxy
make create-proxy
-
Verify instalation
make get-pods
-
Open spark ui on web browser.
make open-ui
You're good to go!