Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

vmware-archive/jettison

Repository files navigation

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

About

dumps fuel from the aircraft before landing

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •