Skip to content

Commit e354739

Browse files
committed
Remove gunicorn-related configuration
Multiprocessing is also no longer required, because waitress uses a different IO model. See its documentation [1] for details. [1]: https://docs.pylonsproject.org/projects/waitress/en/latest/design.html See-also: python-discord/site#1614 Reviewed-by: Chris Lovering <chris.lovering.95@gmail.com>
1 parent ceb153b commit e354739

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

kubernetes/namespaces/web/site/deployment.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,9 @@ spec:
6161
requests:
6262
cpu: 250m
6363
memory: 400Mi
64-
env:
65-
# Needs to match with the variable name being read in django-prometheus
66-
# https://github.com/korfuri/django-prometheus/blob/434a3ba36bdada45c9633451f5f6cfd145814ccf/django_prometheus/exports.py#L119
67-
- name: prometheus_multiproc_dir
68-
value: /tmp
6964
envFrom:
7065
- secretRef:
7166
name: site-env
72-
volumeMounts:
73-
# Used for `gunicorn` worker heartbeats as well as the Prometheus
74-
# client library's multiprocessing mode.
75-
- name: django-tmp
76-
mountPath: /tmp
7767
securityContext:
7868
readOnlyRootFilesystem: true
7969
volumes:

0 commit comments

Comments
 (0)