Skip to content

Commit

Permalink
Increase cpu upper bound in workers (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
majamassarini authored May 7, 2024
2 parents 136dd47 + bfc2e54 commit 7b88605
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@
# 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: "50m"
worker_requests_cpu: "200m"
worker_limits_memory: "640Mi"
worker_limits_cpu: "200m"
worker_limits_cpu: "400m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
- "{{ lookup('template', '{{ project_dir }}/openshift/packit-worker.yml.j2') }}"
Expand Down Expand Up @@ -285,9 +285,9 @@
# 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: "100m"
worker_requests_cpu: "400m"
worker_limits_memory: "1024Mi"
worker_limits_cpu: "400m"
worker_limits_cpu: "600m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
- "{{ lookup('template', '{{ project_dir }}/openshift/packit-worker.yml.j2') }}"
Expand Down

0 comments on commit 7b88605

Please sign in to comment.