Skip to content

stakater/spinikube

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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

LICENSE

Copyright 2017 Kenzan, LLC http://kenzan.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Run Spinnaker on Kubernetes locally

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.5%
  • HTML 26.1%
  • Shell 6.4%