Skip to content

Commit

Permalink
chore: double the memory for long-running workers (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfocko authored Nov 4, 2024
2 parents 14e7329 + d64c4b0 commit 74cb41c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@
worker_replicas: "{{ workers_long_running }}"
# cloning repos is memory intensive: glibc needs 300M+, kernel 600M+
# during cloning, we need to account for git and celery worker processes
worker_requests_memory: "384Mi"
worker_requests_memory: "768Mi"
worker_requests_cpu: "100m"
worker_limits_memory: "1024Mi"
worker_limits_memory: "2048Mi"
worker_limits_cpu: "600m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/deploy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@
worker_replicas: "{{ workers_long_running }}"
# cloning repos is memory intensive: glibc needs 300M+, kernel 600M+
# during cloning, we need to account for git and celery worker processes
worker_requests_memory: "384Mi"
worker_requests_memory: "768Mi"
worker_requests_cpu: "100m"
worker_limits_memory: "1024Mi"
worker_limits_memory: "2048Mi"
worker_limits_cpu: "600m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
Expand Down

0 comments on commit 74cb41c

Please sign in to comment.