Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 958 Bytes

README.org

File metadata and controls

13 lines (9 loc) · 958 Bytes

A tiny zincati helper that provides a fleetlock backend for consul, and also serves as a HTTP metrics proxy.

This is a babashka script with no external dependencies, so it can just be run from source with bb.

Configuration is through environment variables:

GROUP_DOWN_MAPjson map: group name -> max hosts down (by default, at most 1 host down per group)
BIND_IPip to bind to (default: 127.0.0.1)
BIND_PORTport to bind to (default: 15535)
METRICS_IPip to bind the metrics proxy to (default: unset and disabled)
METRICS_PORTport to bind the metrics proxy to (default: 9090)

When running in a container you should set an init process to handle signals, and you need to mount /run/zincati/public/ and convince SELinux to allow access to promsock.