mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
fix: add the missing UWSGI_WORKERS
env variable to the k8s deployments
This commit is contained in:
parent
f13627a32a
commit
bfabdfc6c7
@ -0,0 +1,12 @@
|
|||||||
|
<!--
|
||||||
|
Create a changelog entry for every new user-facing change. Please respect the following instructions:
|
||||||
|
- Indicate breaking changes by prepending an explosion 💥 character.
|
||||||
|
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
|
||||||
|
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
|
||||||
|
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
|
||||||
|
the release notes for every release.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
|
||||||
|
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->
|
||||||
|
- [Bugfix] Add the missing `UWSGI_WORKERS` env variables to the lms and cms k8s deployments. (by @MoisesGSalas)
|
@ -85,6 +85,8 @@ spec:
|
|||||||
value: cms
|
value: cms
|
||||||
- name: DJANGO_SETTINGS_MODULE
|
- name: DJANGO_SETTINGS_MODULE
|
||||||
value: cms.envs.tutor.production
|
value: cms.envs.tutor.production
|
||||||
|
- name: UWSGI_WORKERS
|
||||||
|
value: "{{ OPENEDX_CMS_UWSGI_WORKERS }}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -185,6 +187,8 @@ spec:
|
|||||||
value: lms
|
value: lms
|
||||||
- name: DJANGO_SETTINGS_MODULE
|
- name: DJANGO_SETTINGS_MODULE
|
||||||
value: lms.envs.tutor.production
|
value: lms.envs.tutor.production
|
||||||
|
- name: UWSGI_WORKERS
|
||||||
|
value: "{{ OPENEDX_LMS_UWSGI_WORKERS }}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
Loading…
Reference in New Issue
Block a user