[placement][ptg] Containers/dockerfiles

Chris Dent cdent+os at anticdent.org
Tue Apr 9 12:13:18 UTC 2019

>From etherpad [1]:

* Some talk in the past of moving https://github.com/cdent/placedock
   into placement but not sure
* Another option is [to] trigger container build with each merge

I wrote this one, so I guess I should expand on it a bit. Basically,
placedock is a Dockerfile for placement that strives to be small but
configurable. The same repo also contains instructions (and YAML)
for using the container in kubernetes, and provides a helm chart
that uses the generated image.

Each of those three things is done in a way where many of the
choices are made for you in favor of being light and simple. In
things like Kolla, openstack-helm, and other containerizing setups
some of those choices are left as options, making the build and run
infrastructure more complex. The result with placedock is a tiny
service that scales horizontally really well.

In the past there's been talk of including some of that stuff in the
placement repo itself as a sort of "hey look, here's one way to do
it". If we did that, which stuff?

Another suggestion has been to use a web-hook or similar from zuul
to trigger an image build (either at docker hub or some other
registry) post-merge.

Or we can let things go as they are (I manually build new images
every now and again, which triggers automatic placecat [2] testing).

The reason this comes back up is because I'm somewhat concerned that
the "seriously, this is really simple" aspect of Placement gets lost
and there's probably plenty of useful info in this kind of stuff. If
we make it owned by more than just me, that might help spread the


[1] https://etherpad.openstack.org/p/placement-ptg-train

[2] https://github.com/cdent/placecat

Chris Dent                       ٩◔̯◔۶           https://anticdent.org/
freenode: cdent                                         tw: @anticdent

More information about the openstack-discuss mailing list