Skip to content

Commit

Permalink
Merge pull request #47 from bbkz/dev
Browse files Browse the repository at this point in the history
* increase the resource limit
* use 127.0.0.1 instead of localhost
  • Loading branch information
bbkz authored Mar 15, 2024
2 parents 91ba990 + d3d6f3a commit 4d2e588
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/wger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/wger/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
6 changes: 3 additions & 3 deletions charts/wger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -135,7 +135,7 @@ postgres:
port: 5432
resources:
limits:
cpu: 300m
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
Expand Down

0 comments on commit 4d2e588

Please sign in to comment.