Skip to content

Instantly share code, notes, and snippets.

@navicore
Last active January 9, 2019 08:45
Show Gist options
  • Select an option

  • Save navicore/ded8461d41344a148aca79eb84f6cc80 to your computer and use it in GitHub Desktop.

Select an option

Save navicore/ded8461d41344a148aca79eb84f6cc80 to your computer and use it in GitHub Desktop.
A set of scripts to deploy Spark standalone, Kafka, and Cassandra in Kubernetes
#!/usr/bin/env bash
#
# presumes you have a working kubernetes cluster and
# healthy local kubectl install and config
#
#
# if you want to customize,
# - comment out the last line
# - edit build/*.yaml files
# - run last line
#
git clone https://github.com/navicore/spark-on-kubernetes.git
git clone https://github.com/navicore/kafka-on-kubernetes.git
git clone https://github.com/navicore/cassandra-on-kubernetes.git
mkdir -p build
cp spark-on-kubernetes/*.yaml ./build/
cp kafka-on-kubernetes/*.yaml ./build/
cp cassandra-on-kubernetes/*.yaml ./build/
cd build && kubectl create -f .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment