Skip to content

Instantly share code, notes, and snippets.

@thpham
Created July 11, 2017 18:49
Show Gist options
  • Save thpham/38775e1789cf392011e4e15f8abfbd08 to your computer and use it in GitHub Desktop.
Save thpham/38775e1789cf392011e4e15f8abfbd08 to your computer and use it in GitHub Desktop.
spinnaker install procedure
curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/stable/InstallHalyard.sh
sudo bash InstallHalyard.sh
hal config deploy edit --type localdebian
hal config storage edit --type redis
echo "host: 0.0.0.0" | tee \
~/.hal/default/service-settings/gate.yml \
~/.hal/default/service-settings/deck.yml
hal config provider docker-registry account list
hal config provider docker-registry enable
ADDRESS=index.docker.io
REPOSITORIES="library/nginx library/postgresql"
USERNAME=
PASSWORD=
hal config provider docker-registry account add dockerhub \
--address $ADDRESS \
--repositories $REPOSITORIES \
--username $USERNAME \
--password
ADDRESS=hub.domain.tld
REPOSITORIES="username/nginx team/selin"
USERNAME=
PASSWORD=
hal config provider docker-registry account add portus \
--address $ADDRESS \
--repositories $REPOSITORIES \
--username $USERNAME \
--password
hal config provider kubernetes enable
hal config provider kubernetes account list
hal config provider kubernetes account add k8s-dev \
--docker-registries dockerhub
hal config security ui edit \
--override-base-url http://sub.domain.tld:9000
hal config security api edit \
--override-base-url http://sub.domain.tld:8084
hal config ci jenkins enable
hal config ci jenkins
hal config ci jenkins master add jenkins-master \
--address http://jenkins.domain.tld/ \
--username jenkins \
--password
hal version list
hal config version edit --version 1.1.0
sudo hal deploy apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment