Skip to content

Commit bd30eea

Browse files
fix(haproxy): setting maxconn in haproxy config (#15319) (#18283)
Signed-off-by: Timothy Griffiths <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]>
1 parent 56c556e commit bd30eea

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

manifests/ha/base/redis-ha/chart/upstream.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ data:
701701
stats enable
702702
stats uri /stats
703703
stats refresh 10s
704+
# Additional configuration
705+
global
706+
maxconn 4096
707+
704708
haproxy_init.sh: |
705709
HAPROXY_CONF=/data/haproxy.cfg
706710
cp /readonly/haproxy.cfg "$HAPROXY_CONF"
@@ -1092,7 +1096,7 @@ spec:
10921096
prometheus.io/port: "9101"
10931097
prometheus.io/scrape: "true"
10941098
prometheus.io/path: "/metrics"
1095-
checksum/config: e34e8124c38bcfd2f16e75620bbde30158686692b13bc449eecc44c51b207d54
1099+
checksum/config: cd6508bdf9819601c454d0cc491fb77a209e3a88761d92514d105b6681829953
10961100
spec:
10971101
# Needed when using unmodified rbac-setup.yml
10981102

manifests/ha/base/redis-ha/chart/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ redis-ha:
2121
checkInterval: 3s
2222
metrics:
2323
enabled: true
24+
extraConfig: |
25+
global
26+
maxconn 4096
2427
serviceAccount:
2528
automountToken: true
2629
image:

manifests/ha/install-with-hydrator.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/install.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/namespace-install-with-hydrator.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/ha/namespace-install.yaml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)