Project

General

Profile

Actions

Feature #55544

closed

Make it possible to use custom haproxy config when using ingress

Added by Madushan Nishanta about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

We have a use case where the default haproxy client and server timeouts set here0 are too low and cause connection resets for around 3% of our write requests.
We tried Increasing the timeouts(by editing the haproxy file inside the docker container and reloading haproxy) to 900s which dropped the error rate to around 0.3%.

This is error prone and cumbersome to manage in the long term.
Can you make it possible to override the haproxy.cfg or the haproxy.cfg.j2 template file when using cephadm and ceph ingress service so we can tune it according to our needs?

[0]: https://github.com/ceph/ceph/blob/master/src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j2#L35-L36

Actions

Also available in: Atom PDF