From 156b0de115ef7dc2b962894d11cd470e3a832b54 Mon Sep 17 00:00:00 2001 From: susguzman Date: Sat, 18 Jul 2020 08:06:31 -0600 Subject: [PATCH] k8s workers queues fix --- tutor/templates/k8s/deployments.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutor/templates/k8s/deployments.yml b/tutor/templates/k8s/deployments.yml index df9b758..4b0e262 100644 --- a/tutor/templates/k8s/deployments.yml +++ b/tutor/templates/k8s/deployments.yml @@ -61,7 +61,7 @@ spec: containers: - name: cms-worker image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }} - args: ["./manage.py", "cms", "celery", "worker", "--loglevel=info", "--hostname=edx.cms.core.default.%%h", "--maxtasksperchild", "100"] + args: ["./manage.py", "cms", "celery", "worker", "--loglevel=info", "--hostname=edx.cms.core.default.%%h", "--maxtasksperchild", "100", "--exclude-queues=edx.lms.core.default"] env: - name: SERVICE_VARIANT value: cms @@ -176,7 +176,7 @@ spec: containers: - name: lms-worker image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }} - args: ["./manage.py", "lms", "celery", "worker", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild", "100"] + args: ["./manage.py", "lms", "celery", "worker", "--loglevel=info", "--hostname=edx.lms.core.default.%%h", "--maxtasksperchild", "100", "--exclude-queues=edx.cms.core.default"] env: - name: SERVICE_VARIANT value: lms