From d3d6f3aa6d66be5f9d743842425db9c401e87c67 Mon Sep 17 00:00:00 2001 From: bbk Date: Fri, 15 Mar 2024 11:27:06 +0100 Subject: [PATCH] resource limits / ipv4 proxy --- charts/wger/Chart.yaml | 2 +- charts/wger/templates/configmap.yaml | 2 +- charts/wger/values.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/wger/Chart.yaml b/charts/wger/Chart.yaml index 241265a..c1245e3 100644 --- a/charts/wger/Chart.yaml +++ b/charts/wger/Chart.yaml @@ -1,6 +1,6 @@ --- apiVersion: v2 -version: 0.1.11 +version: 0.1.12 appVersion: latest name: wger description: A Helm chart for Wger installation on Kubernetes diff --git a/charts/wger/templates/configmap.yaml b/charts/wger/templates/configmap.yaml index ad03eb0..0eaed69 100644 --- a/charts/wger/templates/configmap.yaml +++ b/charts/wger/templates/configmap.yaml @@ -14,7 +14,7 @@ data: upstream app_server { # fail_timeout=0 means we always retry an upstream even if it failed # to return a good HTTP response <- according to gunicorn doc - server localhost:8000 fail_timeout=0; + server 127.0.0.1:8000 fail_timeout=0; zone upstreams 64K; keepalive 2; } diff --git a/charts/wger/values.yaml b/charts/wger/values.yaml index 8ad274c..b44582c 100644 --- a/charts/wger/values.yaml +++ b/charts/wger/values.yaml @@ -34,10 +34,10 @@ app: celeryBeat: null resources: requests: - memory: 128Mi + memory: 512Mi cpu: 100m limits: - memory: 512Mi + memory: 1Gi cpu: 500m # when nginx is enabled persistent volumes are required # and therefore automatically enabled @@ -135,7 +135,7 @@ postgres: port: 5432 resources: limits: - cpu: 300m + cpu: 500m memory: 512Mi requests: cpu: 100m