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: