Skip to content

Commit c36db8a

Browse files
committed
Add haproxy resources
1 parent 1f52e7c commit c36db8a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

services/rabbit/docker-compose.yml.j2

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ services:
1010
# otherwise we see overlay rabbit network lb ip
1111
# (rabbitmq management dashboard connection section)
1212
endpoint_mode: dnsrr
13+
resources:
14+
limits:
15+
# https://help.hcl-software.com/digital-experience/dx-95-doc-archive/CF203/platform/kubernetes/haproxy-migration/haproxy-configuration.html
16+
cpus: "1"
17+
memory: "2G"
18+
# according to local observations and link below
19+
# https://github.com/haproxytech/helm-charts/blob/haproxy-1.24.0/haproxy/values.yaml#L403
20+
reservations:
21+
cpus: "0.1"
22+
memory: "128M"
1323
# healthcheck: https://github.com/haproxy/haproxy/issues/3091
1424
networks:
1525
- rabbit

0 commit comments

Comments
 (0)