Skip to content

zincati fleetlock consul backend and metrics proxy in babashka

Notifications You must be signed in to change notification settings

nivekuil/zincati-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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.

About

zincati fleetlock consul backend and metrics proxy in babashka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published