Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 684 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 684 Bytes

Tranquility

Fleet sometimes abandons units in a failed or inactive state. Tranquility detects those units and tries to restart them.

This utility is intended to be run on a timer inside a fleet cluster.

Usage

Check for invalid units:

docker run -it -v /var/run/fleet.sock:/var/run/fleet.sock pulcy/tranquility:latest check

Fix invalid units:

docker run -it -v /var/run/fleet.sock:/var/run/fleet.sock pulcy/tranquility:latest fix

J2 configuration

A sample configuration for J2 can be found in config.

To use it, run:

j2 run -j config/tranquility.hcl -c <yourcluster>