concourse/jettison

Name: jettison

Owner: Concourse

Description: dumps fuel from the aircraft before landing

Created: 2015-04-02 22:16:56.0

Updated: 2018-04-02 15:10:32.0

Pushed: 2016-11-16 21:56:09.0

Homepage: null

Size: 18

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

ttison -gardenAddr 10.0.0.100:7777

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.