observability.svc.plus/roles/haproxy/defaults/main.yml
2026-03-14 20:40:39 +08:00

21 lines
1.1 KiB
YAML

---
#-----------------------------------------------------------------
# HAPROXY
#-----------------------------------------------------------------
haproxy_enabled: false # enable haproxy on this node?
haproxy_clean: false # cleanup all existing haproxy config?
haproxy_reload: true # reload haproxy after config?
haproxy_auth_enabled: true # enable authentication for haproxy admin page
haproxy_admin_username: admin # haproxy admin username, `admin` by default
haproxy_admin_password: pigsty # haproxy admin password, `pigsty` by default
haproxy_exporter_port: 9101 # haproxy admin/exporter port, 9101 by default
haproxy_client_timeout: 24h # client side connection timeout, 24h by default
haproxy_server_timeout: 24h # server side connection timeout, 24h by default
haproxy_services: [] # list of haproxy service to be exposed
#-----------------------------------------------------------------
# PROMETHEUS (Reference)
#-----------------------------------------------------------------
exporter_metrics_path: /metrics # exporter metric path, `/metrics` by default
...