When running a somewhat large instance of Open edX in Kubernetes we need to perform several changes to the Kubernetes resources.
At first we needed to specify cpu/memory resources in the LMS/CMS/Workers pods to allow the usage of HorizontalPodAutoscaler. An initial PR was opened in Tutor but was eventually discarded due to the added complexity to Tutor Core. This eventually was implemented as an external plugin.
At eduNEXT we also found ourselves making changes to the UWSGI configuration to improve the behavior of the container in the context of a kubernetes Pod. I managed to land a PR that allows to configure the UWSGI process.
I don't think these are going to be the only changes we are going to be making to the K8S resources, so this issues' purpose is two fold: To discuss where would be the best place to gather all that configuration and how we implement it (the harmony tutor plugin an additional plugin, some other way?), and to share and discuss those special 'tunings' that we have been applying.
Description
When running a somewhat large instance of Open edX in Kubernetes we need to perform several changes to the Kubernetes resources.
At first we needed to specify cpu/memory resources in the LMS/CMS/Workers pods to allow the usage of HorizontalPodAutoscaler. An initial PR was opened in Tutor but was eventually discarded due to the added complexity to Tutor Core. This eventually was implemented as an external plugin.
At eduNEXT we also found ourselves making changes to the UWSGI configuration to improve the behavior of the container in the context of a kubernetes Pod. I managed to land a PR that allows to configure the UWSGI process.
I don't think these are going to be the only changes we are going to be making to the K8S resources, so this issues' purpose is two fold: To discuss where would be the best place to gather all that configuration and how we implement it (the harmony tutor plugin an additional plugin, some other way?), and to share and discuss those special 'tunings' that we have been applying.