config-reloader

command
v0.15.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

README

Config Reloader

Small binary, a wrapper on top of github.com/thanos-io/thanos/pkg/reloader for extra checks and tuning. Meant to be run as a sidecar.

Flags

Usage of config-reloader:
  -config-dir string
    	config directory to watch for changes
  -config-dir-output string
    	config directory to write with interpolated environment variables
  -config-file string
    	config file to watch for changes
  -config-file-output string
    	config file to write with interpolated environment variables
  -listen-address string
    	address on which to expose metrics (default ":19091")
  -ready-startup-probing-interval duration
    	how often to poll ready endpoint during startup (default 1s)
  -ready-startup-probing-no-conn-threshold int
    	how many times ready endpoint can fail due to no connection failure. This can happen if the config-reloader starts faster than the config target endpoint readiness server. (default 5)
  -ready-url string
    	ready endpoint of the configuration target that returns a 200 when ready to serve traffic. If set, the config-reloader will probe it on startup (default "http://127.0.0.1:19090/-/ready")
  -reload-url string
    	reload endpoint of the configuration target that triggers a reload of the configuration file (default "http://127.0.0.1:19090/-/reload")
  -watched-dir value
    	directory to watch for file changes (for rule and secret files, may be repeated)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL