From 8b5c14a759f509326f5fab50d81ee56c7757813f Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 23 Sep 2024 09:11:37 +0100 Subject: [PATCH] add resource limits to traefik --- infrastructure/traefik/traefik.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/infrastructure/traefik/traefik.yaml b/infrastructure/traefik/traefik.yaml index d1c7cde..dd7180b 100644 --- a/infrastructure/traefik/traefik.yaml +++ b/infrastructure/traefik/traefik.yaml @@ -35,6 +35,14 @@ spec: - "--providers.kubernetescrd.allowCrossNamespace=true" - "--accesslog=true" + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 500m + memory: 1Gi # Update when traefik fixes their shitty mem leak + deployment: enabled: true replicas: 1