From bfabdfc6c75433e5268b82b7d2c694abc08edc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Gonz=C3=A1lez?= Date: Fri, 10 Mar 2023 05:04:39 -0400 Subject: [PATCH] fix: add the missing `UWSGI_WORKERS` env variable to the k8s deployments --- ...0_045537_moises.gonzalez_fix_k8s_uwsgi_workers.md | 12 ++++++++++++ tutor/templates/k8s/deployments.yml | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 changelog.d/20230310_045537_moises.gonzalez_fix_k8s_uwsgi_workers.md diff --git a/changelog.d/20230310_045537_moises.gonzalez_fix_k8s_uwsgi_workers.md b/changelog.d/20230310_045537_moises.gonzalez_fix_k8s_uwsgi_workers.md new file mode 100644 index 0000000..c118ddd --- /dev/null +++ b/changelog.d/20230310_045537_moises.gonzalez_fix_k8s_uwsgi_workers.md @@ -0,0 +1,12 @@ + + + + +- [Bugfix] Add the missing `UWSGI_WORKERS` env variables to the lms and cms k8s deployments. (by @MoisesGSalas) diff --git a/tutor/templates/k8s/deployments.yml b/tutor/templates/k8s/deployments.yml index 57e0fc8..4d86d47 100644 --- a/tutor/templates/k8s/deployments.yml +++ b/tutor/templates/k8s/deployments.yml @@ -85,6 +85,8 @@ spec: value: cms - name: DJANGO_SETTINGS_MODULE value: cms.envs.tutor.production + - name: UWSGI_WORKERS + value: "{{ OPENEDX_CMS_UWSGI_WORKERS }}" ports: - containerPort: 8000 volumeMounts: @@ -185,6 +187,8 @@ spec: value: lms - name: DJANGO_SETTINGS_MODULE value: lms.envs.tutor.production + - name: UWSGI_WORKERS + value: "{{ OPENEDX_LMS_UWSGI_WORKERS }}" ports: - containerPort: 8000 volumeMounts: