github.com/concourse/jettison

dumps fuel from the aircraft before landing


License
Apache-2.0
Install
go get github.com/concourse/jettison

Documentation

jettison

destroys all ephemeral containers on a garden server

Fuel Dump

by paperghost

about

Shutting a Concourse worker down requires the containers to be destroyed before removing the old versions of the RootFSs so that the files are not in use when BOSH tries to remove them. The only containers that are likely to last long enough to be in this state (over two BOSH deploys) are check containers.

Luckily, check containers can be destroyed at any time and spun up again on another machine to resume. In Concourse this concept is referred to as ephemeral. When Concourse creates an ephemeral container it is marked with a Garden property. Jettison finds containers with this property and destroys them.

usage

To destroy all ephemeral containers on a Garden server, just run:

$ jettison -gardenAddr 10.0.0.100:7777