Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
Vagrantfile
autopilot-pv.yaml
bashrc
check_halyard_ready.sh
check_inst_complete.sh
config_hal.sh
deck_fix.sh
easy_spin_delete.sh
easy_spin_setup.sh
github-token
hosts
inst_oes.sh
masterinst.sh
oes-pv.yaml
pvc-temp.yaml
readme.md
spin-gate-np.yaml
spin-gate-svc.yaml

readme.md

Installing Open Enterprise Spinnaker (OES) on Single Node kubernetes

Install a Spinnaker instance with-in an hour using an opinionated developer install. Please note that this installation is not suitable for production use.

Before going through the installation steps, its a great idea to go through the following:

https://blog.opsmx.com/open-enterprise-spinnaker/ and

https://github.com/OpsMx/enterprise-spinnaker/tree/master/charts/oes

What you need: A laptop or desktop running Ubuntu 18.04 with i5(8 core), 32GB Memory and 500GB SSD. Access to the monitor (or display) is required.

Before you install OES, please send an email to [spinnaker-poc@opsmx.io]{.underline} requesting access to the OES images. We would require your dockerhub id to grant you access. If you do not already have a dockerhub id, you can get one at https://hub.docker.com .

Software Setup

Open a terminal (ctrl+alt+T), create a temporary directory and CD into it

1) git clone https://github.com/opsmx/enterprise-spinnaker.git

2) cd enterprise-spinnaker/scripts/easy-spinnaker

3) sudo easy_spin_setup.sh

Spinnaker Installation Procedure

A) Edit inst_oes.sh and update "docker-username" and "docker-password" for the OES images

B) vagrant up # Create VMs, install k8s & Spinnaker, takes about 30 minutes)

C) Access Spinnaker URL (printed above) on from the host machine

TIP: Shutting down the laptop: use the "vagrant suspend" command to suspend the VM before shutting down the laptop. After a power-cycle, use "vagrant up" command to restart the VM.

TIPS to handle any errors:

a) In case of a network error, we can re-execute step (D) as follows:

vagrant destroy -f # Delete the VMs

vagrant up

b) If spin-deck pod goes into CrashLoop, it will need to be given root-permissions to run. Sample spin-deck.yaml is in the git. Note that this may have security implications.

Vagrant ssh master # Login the VM

kubectl edit deploy spin-deck # Opens an editor

Change this line:

securityContext: {}

to this:

securityContext:

runAsUser: 0

c) The application URL is [http://10.168.3.10]{.underline}:{DECK NodePort} can be obtained with this command on the master node:

kubectl get svc spin-deck-ui -n oes -o jsonpath='{"http://10.168.3.10:"}{...nodePort}{"\n"}'

Manual Software Setup [ Not needed unless there is an issue in easy_spin_setup.sh]

Open a terminal (ctrl+alt+T), create a temporary directory and CD into it

1) Install virtualbox 5.2 from [here]{.underline}.

2) Install Vagrant version 2.2.4 from [here]{.underline}.

3) Install disksize plugin using this command: vagrant plugin install vagrant-disksize

4) Install helm 3.0.1 from [here]{.underline}. Copy the "helm" command to the "easy-spinnaker" directory.

Delete all software installed

Execute the following steps:

sudo ./easy_spin_delete.sh

cd ../../..

rm -rf enterprise-spinnaker

** **

You can’t perform that action at this time.