Skip to content

Commit 9922723

Browse files
committed
perf: increase Contour memory limits to prevent pod restarts (pscloud-490)
1 parent 27d4ce1 commit 9922723

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

roles/baseline/defaults/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,24 @@ CONTOUR_CHART_NAME: contour
195195
CONTOUR_CHART_URL: https://projectcontour.github.io/helm-charts/
196196
CONTOUR_CHART_VERSION: 0.2.1
197197
CONTOUR_CONFIG:
198+
contour:
199+
resources:
200+
requests:
201+
cpu: 100m
202+
memory: 256Mi
203+
limits:
204+
cpu: 200m
205+
memory: 512Mi
198206
envoy:
199207
service:
200208
loadBalancerSourceRanges: "{{ LOADBALANCER_SOURCE_RANGES | default(['0.0.0.0/0'], -1) }}"
209+
resources:
210+
requests:
211+
cpu: 100m
212+
memory: 256Mi
213+
limits:
214+
cpu: 200m
215+
memory: 512Mi
201216

202217
# Add annotation to include Azure load-balancer health probe request path for Contour
203218
CONTOUR_AZURE_LB_HEALTH_PROBE_CONFIG:

0 commit comments

Comments
 (0)