Skip to content

Commit

Permalink
Lower cpu requests
Browse files Browse the repository at this point in the history
The previous cpu limit increase 7b88605 should be enough.
The cluster running our pods should have enough resources to satisfy our needs without us blocking the resources.
  • Loading branch information
majamassarini committed May 13, 2024
1 parent 9dc0c6f commit e1a0e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
# Short-running tasks are just interactions with different services.
# They should not require a lot of memory/cpu.
worker_requests_memory: "320Mi"
worker_requests_cpu: "200m"
worker_requests_cpu: "80m"
worker_limits_memory: "640Mi"
worker_limits_cpu: "400m"
ansible.builtin.include_tasks: tasks/k8s.yml
Expand Down Expand Up @@ -285,7 +285,7 @@
# 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_cpu: "400m"
worker_requests_cpu: "100m"
worker_limits_memory: "1024Mi"
worker_limits_cpu: "600m"
ansible.builtin.include_tasks: tasks/k8s.yml
Expand Down

0 comments on commit e1a0e09

Please sign in to comment.