Skip to content

pulcy/tranquility

Repository files navigation

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>

About

Fleet unit status check & fixer

Resources

Stars

Watchers

Forks

Packages

No packages published