Skip to content

Commit

Permalink
Increase limits_cpu for the short_running_workers
Browse files Browse the repository at this point in the history
Seems like that when we have spikes,
above the limits_cpu, we sometimes got an hard time limit
exception for the celery tasks.
  • Loading branch information
majamassarini committed Nov 27, 2024
1 parent 848a1dd commit 1f61425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
worker_requests_memory: "320Mi"
worker_requests_cpu: "80m"
worker_limits_memory: "640Mi"
worker_limits_cpu: "400m"
worker_limits_cpu: "700m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
- "{{ lookup('template', '{{ project_dir }}/openshift/packit-worker.yml.j2') }}"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/deploy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
worker_requests_memory: "320Mi"
worker_requests_cpu: "80m"
worker_limits_memory: "640Mi"
worker_limits_cpu: "400m"
worker_limits_cpu: "700m"
ansible.builtin.include_tasks: tasks/k8s.yml
loop:
- "{{ lookup('template', '{{ project_dir }}/openshift/packit-worker.yml.j2') }}"
Expand Down

0 comments on commit 1f61425

Please sign in to comment.