Skip to content

Commit 2cd9e84

Browse files
Increase short running worker memory (#642)
Increase short running worker memory After the last memory increase, it seems the workers are using more cpu and executing much more tasks. So memory seems to be a real bottleneck. Reviewed-by: Matej Focko
2 parents 56861b1 + d392a70 commit 2cd9e84

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.ansible-lint

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# https://ansible-lint.readthedocs.io/en/latest/configuring.html
22

3+
profile: basic
4+
35
skip_list:
46
- yaml # clashes with prettier
57

@@ -14,7 +16,6 @@ mock_modules:
1416
# Ansible 2.9.27 in F35 still contains the k8s module so we can ignore the error until F36,
1517
# where we can switch to kubernetes.core.k8s as ansible-5.x in F36 contains it.
1618
- k8s
17-
- kubernetes.core.k8s
1819
# Ignore until F36, where these are in community.crypto collection (part of ansible-5.x rpm).
1920
- openssh_keypair
2021
- openssl_certificate

playbooks/test_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
post_tasks:
1717
- name: Delete test project namespace if already exist
18-
kubernetes.core.k8s:
18+
k8s:
1919
name: "{{ test_project_name }}"
2020
api_version: v1
2121
kind: Namespace

playbooks/test_deploy_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
changed_when: false
4343

4444
- name: Delete test project namespace if already exist
45-
kubernetes.core.k8s:
45+
k8s:
4646
name: "{{ test_project_name }}"
4747
api_version: v1
4848
kind: Namespace
4949
state: absent
5050

5151
- name: Create test project namespace
52-
kubernetes.core.k8s:
52+
k8s:
5353
name: "{{ test_project_name }}"
5454
api_version: v1
5555
kind: Namespace

roles/deploy/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@
203203
worker_replicas: "{{ workers_short_running }}"
204204
# Short-running tasks are just interactions with different services.
205205
# They should not require a lot of memory/cpu.
206-
worker_requests_memory: "320Mi"
206+
worker_requests_memory: "768Mi"
207207
worker_requests_cpu: "80m"
208-
worker_limits_memory: "640Mi"
208+
worker_limits_memory: "2048Mi"
209209
worker_limits_cpu: "2"
210210
ansible.builtin.include_tasks: k8s.yml
211211
loop:

0 commit comments

Comments
 (0)