Project

General

Profile

Feature #10599

Add support for hitless-reloads of HAproxy config

Added by DRago_Angel [InV@DER] about 1 month ago. Updated 29 days ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
05/27/2020
Due date:
% Done:

0%

Estimated time:

Description

HAproxy allows reload configs without restart of service via socket command: https://www.haproxy.com/blog/hitless-reloads-with-haproxy-howto/
It will be cool if HAproxy proxy package will have option to
  1. regenerate SrcIPs lists which was been changed, there is ways how to achieve this (first one more friendly):
    • compare modification dates of original alias file and file created in /var/etc/haproxy/*.lst
    • take incoming parameter: array of alias names that need to reload
      1. hitless reload of configs
      2. default apply action also better switch from $(check config && restart) to $(check config && hitless reload)
        This task related originally to https://redmine.pfsense.org/issues/9793

Also available in: Atom PDF