SpiniKube is a set of scripts and configurations that makes it easy to launch Spinnaker on a local kubernetes cluster.
The following items are setup on the cluster:
- Spinnaker, configured to deploy applications to the local cluster
- Kubernetes Dashboard: Official management UI
- KubeDash: Cluster performance and metrics UI
- Tectonic Console: Alternative Kubernetes managment UI from CoreOS
- Jenkins: Automation server configured to work with Spinnaker Jenkins stages
- Registry: Container image registry for storing images
- SpiniKube Start page: Handy UI with links to the above services
1. Download the kubectl
utility and move it into your PATH
### OSX
curl -O https://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/darwin/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/kubectl
### Linux
curl -O https://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/kubectl
2. Install VirtualBox
### OSX
wget http://download.virtualbox.org/virtualbox/5.1.0/VirtualBox-5.1.0-108711-OSX.dmg
hdiutil mount VirtualBox-5.1.0-108711-OSX.dmg
sudo installer -pkg /Volumes/VirtualBox/VirtualBox.pkg -target /
### LINUX
sudo apt-get install virtualbox
3. Install minikube
### OSX
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.6.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
### Linux
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.6.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
git clone https://github.com/kenzanlabs/spinikube.git && cd SpiniKube
python setup.py
This process takes about 10 to 20 minutes depending on your internet connection.
The terminal will show the live status of each component as it is created and launched.
Once complete a brower will launch with the SpiniKube start page with handy links to each application as well as a tutorial for an example Spinnaker pipeline. This documentatin can also be found here.
setup.py
is only for initial setup. You can stop and start minikube from any directory with minikube stop
and minikube start