Spinnaker On Oracle Cloud

The following guide will show you how to manually install and configure Spinnaker running on Oracle BMCS.

Setup

You will need an bmcs_api_key.pem file and an Ubuntu 14.04 instance. Create your Ubuntu instance using the BMCS UI and copy your API onto the machine.

$ scp -r ~/.oraclebmc/ ubuntu@PUBLIS_IP:/home/ubuntu/

Then connect to your instance and use Halyard to install Spinnaker.

$ ssh ubuntu@PUBLIC_IP

Using Halyard

We recommend Halyard for installing and configuring Spinnaker. Provided you have a set of BMCS API credentials, the following steps will install Spinnaker on your Bare Metal Account.

Halyard and Spinnaker (currently) only work with Ubuntu 14.04

$ sudo apt update

$ curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/stable/InstallHalyard.sh
$ sudo bash InstallHalyard.sh

$ hal config provider oraclebmcs enable

$ hal config provider oraclebmcs account add default \
--compartment-id "ocid1.compartment.oc1..XXX" \
--region "us-phoenix-1" \
--ssh-private-key-file-path "/home/ubuntu/.oraclebmc/bmcs_api_key.pem" \
--tenancyId "ocid1.tenancy.oc1..XXX" \
--user-id "ocid1.user.oc1..XXX" \
--fingerprint "a4:bb:34:43:54:c5..."

$ hal config storage oraclebmcs edit \
--bucket-name "spinnaker" \
--compartment-id "ocid1.compartment.oc1..XXX" \
--fingerprint "a4:bb:34:43:54:c5..." \
--namespace "spinnaker" \
--region "us-phoenix-1" \
--ssh-private-key-file-path "/home/ubuntu/.oraclebmc/bmcs_api_key.pem" \
--tenancy-id "ocid1.tenancy.oc1..XXX" \
--user-id "ocid1.user.oc1..XXX"

$ hal config storage edit --type oraclebmcs

$ sudo hal deploy apply