1
0
Fork 0

tweak nextcloud config

This commit is contained in:
Massaki Archambault 2023-06-12 13:29:18 -04:00
parent 95e29071a9
commit f5871b8d0e
3 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,2 @@
# Mitigate an issue with CPU starvation in photo app
MaxRequestWorkers 50

View File

@ -11,9 +11,10 @@ commonLabels:
app.kubernetes.io/name: nextcloud
configMapGenerator:
- name: php-ini
- name: server-config
files:
- php-user.ini=configurations/php-user.ini
- apache-user.cfg=configurations/apache-user.conf
- name: kustomize-generated-config
literals:
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev

View File

@ -90,17 +90,21 @@ spec:
volumeMounts:
- name: nextcloud-pv
mountPath: /var/www/html
- name: php-ini
- name: server-config
mountPath: /usr/local/etc/php/conf.d/php-user.ini
subPath: php-user.ini
readOnly: true
- name: server-config
mountPath: /etc/apache2/conf-enabled/apache-user.conf
subPath: apache-user.conf
readOnly: true
volumes:
- name: nextcloud-pv
persistentVolumeClaim:
claimName: server-pvc
- name: php-ini
- name: server-config
configMap:
name: php-ini
name: server-config
---
apiVersion: v1
kind: PersistentVolumeClaim
@ -111,7 +115,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storage: 100Gi
---
apiVersion: v1
kind: Service