8
votes

I wonder if Spinnaker (http://spinnaker.io) can be used for docker container deployment?

What we do is:

  1. Poke the repo
  2. If the code is new there - we build 3 containers (nginx, django app container, fluentd logger container)
  3. we are spinning up fluentd container in order to collect the logs from the rest 2 containers and send it to Splunk/AWS Cloudwatch Logs
  4. we want to spin up django app container, on the same host - nginx container (as a proxy to Django container) [and forward the logs into fluentd ]
  5. we forward (map) the certain json file with the app configuration ito the django container

Unfortunately Spinnaker has too few examples, the example they have here shows only how to bake the image with the certain DEB package inside.

We do have jenkins jobs which can poll the repo, test the code, create and upload the docker container into the private registry and deploy the containers using ansible. The question is if we can use Spinnaker in order to do that natively?

2

2 Answers

5
votes

there is currently no container support in Spinnaker. Google is actively working on adding Kubernetes support. But there is currently no plans to integrate Spinnaker directly with either docker or ecs.

0
votes

One thing we tried and worked was to use Jenkins to build and publish a debian wrapper for the docker image that was created. All that this debian does is to pull and start the docker container for a spinnaker service. We then created a spinnaker pipeline that bakes this debian and then deploys it.