feat(helm-chart): add values for various Puma related settings
This commit is contained in:
parent
61194296af
commit
f5e3c27ab6
|
@ -74,6 +74,22 @@ spec:
|
||||||
key: redis-password
|
key: redis-password
|
||||||
- name: "PORT"
|
- name: "PORT"
|
||||||
value: {{ .Values.mastodon.web.port | quote }}
|
value: {{ .Values.mastodon.web.port | quote }}
|
||||||
|
{{- if .Values.mastodon.web.minThreads }}
|
||||||
|
- name: "MIN_THREADS"
|
||||||
|
value: {{ .Values.mastodon.web.minThreads | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.mastodon.web.maxThreads }}
|
||||||
|
- name: "MAX_THREADS"
|
||||||
|
value: {{ .Values.mastodon.web.maxThreads | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.mastodon.web.workers }}
|
||||||
|
- name: "WEB_CONCURRENCY"
|
||||||
|
value: {{ .Values.mastodon.web.workers | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.mastodon.web.persistentTimeout }}
|
||||||
|
- name: "PERSISTENT_TIMEOUT"
|
||||||
|
value: {{ .Values.mastodon.web.persistentTimeout | quote }}
|
||||||
|
{{- end }}
|
||||||
{{- if (and .Values.mastodon.s3.enabled .Values.mastodon.s3.existingSecret) }}
|
{{- if (and .Values.mastodon.s3.enabled .Values.mastodon.s3.existingSecret) }}
|
||||||
- name: "AWS_SECRET_ACCESS_KEY"
|
- name: "AWS_SECRET_ACCESS_KEY"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -190,6 +190,12 @@ mastodon:
|
||||||
# requests:
|
# requests:
|
||||||
# cpu: 250m
|
# cpu: 250m
|
||||||
# memory: 768Mi
|
# memory: 768Mi
|
||||||
|
# -- Puma-specific options. Below values are based on default behavior in
|
||||||
|
# config/puma.rb when no custom values are provided.
|
||||||
|
minThreads: "5"
|
||||||
|
maxThreads: "5"
|
||||||
|
workers: "2"
|
||||||
|
persistentTimeout: "20"
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
statsd:
|
statsd:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user