Run Spinnaker on Kubernetes locally
Python HTML Shell
Switch branches/tags
Nothing to show
Clone or download
skorten Merge pull request #14 from stephlag/patch-1
Fix case issue in spinikube install
Latest commit 07850a3 Dec 20, 2017
Permalink
Failed to load latest commit information.
applications Pull deck image from public hub Mar 29, 2017
config init Aug 4, 2016
jobs init Aug 4, 2016
pipelines init Aug 4, 2016
screenshots init Aug 4, 2016
.gitignore init Aug 4, 2016
LICENSE.md Include apache 2.0 license (#24) Jul 5, 2017
README.md Merge pull request #14 from stephlag/patch-1 Dec 20, 2017
podexec init Aug 4, 2016
refresh.py init Aug 4, 2016
setup.py init Aug 4, 2016

README.md

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 && sudo 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.