Skip to content

Staffbase/spark-submit-server

Repository files navigation

spark-submit-server

lightweight go server that exposes spark-submit

spark-submit-server architecture overview

Run with a kind cluster

  1. create the cluster
kind create cluster
  1. create spark namespace & serviceaccount
kubectl create -f example/spark.yaml
  1. proxy kubernetes API to host
kubectl proxy
  1. run the go server locally
go run . --spark-home=$SPARK_HOME_DIR --master=k8s://http://127.0.0.1:8001 --spark-conf-dir=example/sparkConf --debug
  1. start the example
curl -XPOST http://localhost:7070?preset=pi
  1. delete the kind cluster
kind cluster delete`

About

lightweight go server that exposes spark-submit

Resources

License

Stars

Watchers

Forks

Packages

No packages published