Allow arbitrary haproxy_server_options to be supplied to HAProxy.#140
Allow arbitrary haproxy_server_options to be supplied to HAProxy.#140
Conversation
If you want restarts to be forced when the state changes, you must use the state file.
7731400 to
c05817a
Compare
|
That was fast, thanks! Was just about to address this. Have tested this and can confirm that it is working as expected with all of the options I need. Also, worth noting that if someone wants to do http checks on custom ports, they will have to add - |
|
👍 I like using the state file instead of querying haproxy. In the future I think it might be worth abstracting this component out some more. |
Allow arbitrary haproxy_server_options to be supplied to HAProxy.
|
Just tested airbnb/nerve#75 and wanted to follow up on this pull request - for some reason, when Synapse is getting data from Zookeeper that includes haproxy_server_options it does not use them, generating a Haproxy config without those options. |
|
Did you enable the state file? |
|
@jolynch No, state cache is not enabled. |
|
@Jaykah Heh I forgot to merge #144 . I've merged it now and can start testing on our infra next week (after thanksgiving). Remember to enable the |
This allows operators to declare that particular backends are backups, should have different failure modes (fall/rise), healthcheck rates, etc ... We need to add support to nerve to be able to pass these through, but this should help with #100.
If you want restarts to be forced when the state changes, you must use
the state file.