Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Nginx Tweaks #308

Merged
merged 6 commits into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions galaxy/templates/deployment-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,11 @@ spec:
mountPath: {{ .Values.initJob.downloadToolConfs.volume.mountPath }}
subPath: {{ .Values.initJob.downloadToolConfs.volume.subPath }}
{{- end }}
{{- if .Values.cvmfs.enabled }}
{{- range $key, $entry := .Values.cvmfs.galaxyPersistentVolumeClaims }}
- name: cvmfs-gxy-{{ $key }}
mountPath: {{ $entry.mountPath }}
{{- end -}}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{- .Values.extraVolumeMounts | toYaml | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.nginx.resources | nindent 12 }}
lifecycle:
preStop:
exec:
Expand All @@ -80,13 +74,6 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
{{- if .Values.cvmfs.enabled }}
{{- range $key, $entry := .Values.cvmfs.galaxyPersistentVolumeClaims }}
- name: cvmfs-gxy-{{ $key }}
persistentVolumeClaim:
claimName: {{ template "galaxy.fullname" $ -}}-cvmfs-gxy-{{ $key }}-pvc
{{- end }}
{{- end }}
{{- if .Values.extraVolumes }}
{{- .Values.extraVolumes | toYaml | nindent 8 }}
{{- end }}
Expand Down
10 changes: 10 additions & 0 deletions galaxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -627,3 +627,13 @@ nginx:
pullPolicy: IfNotPresent
conf:
client_max_body_size: 100g
resources:
# We recommend updating these based on the usage levels of the server
requests:
cpu: 100m
memory: 500M
ephemeral-storage: 1Gi
limits:
cpu: 2
memory: 3G
ephemeral-storage: 10Gi
almahmoud marked this conversation as resolved.
Show resolved Hide resolved