Merge "Set uwsgi worker number equal to core number on horizon"
This commit is contained in:
commit
06db737e8b
@ -48,3 +48,4 @@ ENV UWSGI_HTTP_SOCKET=:8000 \
|
||||
UWSGI_CHECK_STATIC=/usr/local/lib/python3.7/site-packages/static/ \
|
||||
UWSGI_STATIC_MAP="/static=/usr/local/lib/python3.7/site-packages/static/" \
|
||||
UWSGI_MIME_FILE="/etc/mime.types"
|
||||
CMD ["/usr/local/bin/uwsgi","--ini","/etc/uwsgi/uwsgi.ini"]
|
||||
|
@ -73,6 +73,8 @@ spec:
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/horizon
|
||||
- name: uwsgi-config
|
||||
mountPath: /etc/uwsgi
|
||||
{% if 'logo' in spec %}
|
||||
- name: logo
|
||||
mountPath: /usr/local/lib/python3.7/site-packages/static/dashboard/img/logo.svg
|
||||
@ -89,6 +91,10 @@ spec:
|
||||
configMap:
|
||||
defaultMode: 420
|
||||
name: horizon
|
||||
- name: uwsgi-config
|
||||
configMap:
|
||||
defaultMode: 420
|
||||
name: uwsgi-default
|
||||
{% if 'logo' in spec %}
|
||||
- name: logo
|
||||
configMap:
|
||||
|
Loading…
x
Reference in New Issue
Block a user