fix: mount Apache MPM config under nextcloud.extraVolumes (not top-level)
The Nextcloud Helm chart expects extraVolumes/extraVolumeMounts nested under the nextcloud: key. Also mount to mods-available/ (the actual file) not mods-enabled/ (which is a symlink). Verified: MaxRequestWorkers 150→25, workers dropped from 49 to 6.
This commit is contained in:
parent
ff03f2b99f
commit
0ca81a6112
1 changed files with 8 additions and 11 deletions
|
|
@ -31,6 +31,14 @@ nextcloud:
|
|||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
default_socket_timeout = 300
|
||||
extraVolumes:
|
||||
- name: apache-tuning
|
||||
configMap:
|
||||
name: nextcloud-apache-tuning
|
||||
extraVolumeMounts:
|
||||
- name: apache-tuning
|
||||
mountPath: /etc/apache2/mods-available/mpm_prefork.conf
|
||||
subPath: mpm_prefork.conf
|
||||
|
||||
# internalDatabase:
|
||||
# enabled: false
|
||||
|
|
@ -96,14 +104,3 @@ resources:
|
|||
|
||||
cronjob:
|
||||
enabled: true
|
||||
|
||||
# Mount custom Apache MPM config to limit worker count
|
||||
extraVolumes:
|
||||
- name: apache-tuning
|
||||
configMap:
|
||||
name: nextcloud-apache-tuning
|
||||
|
||||
extraVolumeMounts:
|
||||
- name: apache-tuning
|
||||
mountPath: /etc/apache2/mods-enabled/mpm_prefork.conf
|
||||
subPath: mpm_prefork.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue