How to install Spinnaker on CentOS 7

How to install Spinnaker on CentOS 7

Spinnaker doesn’t support installation on CentOS machine, this article introduces how to use Docker to install Spinnaker components on CentOS directly.

As we know, according to the spinnaker’s official documentation, spinnaker provides a tool for installing the spinnaker cluster in Kubernetes cluster or debian/ubuntu bare metal machine, but there’s not an option to install it on CentOS or other common operating systems. Althogh the spinnaker provides a way to start Spinnaker with Docker Compose, but it’s out of date. So I created a new docker-compose project to quickstart a spinnaker cluster on any kind of os.

Quickstart

Provision a machine with at least 16GB memory and 4 cores, it may need more than this since my macbook pro(4cores, 16GB) was stuck when I started spinnaker.

1
2
3
4
5
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
git clone https://github.com/songrgg/spinnaker-compose
cd spinnaker-compose
docker-compose up -d

To access the spinnaker

Visit http://localhost:9000 in browser if you run spinnaker on local machine.

Otherwise you can use ssh to create tunnel on local machine. Spinnaker exposes two ports, 9000 for web, 8084 for api gateway.

1
2
ssh -L 8084:localhost:8084 <remote-host>
ssh -L 9000:localhost:9000 <remote-host>

Add clouddriver

You need to edit config/clouddriver.yml to open multiple clouddrivers, it’s not easy to integrate since we don’t have the halyard to do this stuff, but if you already have the clouddriver.yml, it’s easier to make it work.

Since clouddriver will need credentials, you need to modify the docker-compose.yml to mount the credential files on the docker containers.

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×