Skip to content

Commit 9992985

Browse files
committed
fix(http-cache,vpa): fix haproxy 3.3 backend name conflict and vpa-for-vpa OOM
HAProxy 3.3 disallows frontend and backend sharing the same name. Rename backend 'http' to 'cache' to resolve the conflict. Increase vpa-for-vpa recommender memory limit from 512Mi to 1Gi to prevent OOMKilled restarts. Signed-off-by: IvanHunters <[email protected]>
1 parent f5c84eb commit 9992985

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/apps/http-cache/templates/haproxy/configmap.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ data:
6363
# overwrite real IP header from anywhere else
6464
http-request set-header X-Forwarded-For %[src] if !from_cf
6565
66-
default_backend http
66+
default_backend cache
6767
68-
backend http
68+
backend cache
6969
mode http
7070
balance uri whole
7171
hash-type consistent

‎packages/system/vertical-pod-autoscaler/templates/vpa-for-vpa.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
recommender-name: vpa-for-vpa
4747
resources:
4848
limits:
49-
memory: 512Mi
49+
memory: 1Gi
5050
requests:
5151
cpu: 100m
5252
memory: 512Mi

0 commit comments

Comments
 (0)