Skip to content

stephlag/spinikube

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spinnaker + MiniKube = SpiniKube

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

Initial Setup Instructions

Ensure dependencies are installed

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/

Install and start SpiniKube

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.

Stopping and restarting

setup.py is only for initial setup. You can stop and start minikube from any directory with minikube stop and minikube start

About

Run Spinnaker on Kubernetes locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.8%
  • HTML 22.0%
  • Nginx 15.8%
  • Shell 5.4%