From 1f61425d5b7aaf5b5b41f6a57e0bcd20f0d8bbc6 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Wed, 27 Nov 2024 11:07:32 +0100 Subject: [PATCH] Increase limits_cpu for the short_running_workers Seems like that when we have spikes, above the limits_cpu, we sometimes got an hard time limit exception for the celery tasks. --- playbooks/deploy.yml | 2 +- playbooks/roles/deploy/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/deploy.yml b/playbooks/deploy.yml index c3d7c82..b4dd600 100644 --- a/playbooks/deploy.yml +++ b/playbooks/deploy.yml @@ -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') }}" diff --git a/playbooks/roles/deploy/tasks/main.yml b/playbooks/roles/deploy/tasks/main.yml index b271fcf..8993c14 100644 --- a/playbooks/roles/deploy/tasks/main.yml +++ b/playbooks/roles/deploy/tasks/main.yml @@ -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') }}"