tweak nextcloud config
This commit is contained in:
parent
95e29071a9
commit
f5871b8d0e
|
@ -0,0 +1,2 @@
|
||||||
|
# Mitigate an issue with CPU starvation in photo app
|
||||||
|
MaxRequestWorkers 50
|
|
@ -11,9 +11,10 @@ commonLabels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: php-ini
|
- name: server-config
|
||||||
files:
|
files:
|
||||||
- php-user.ini=configurations/php-user.ini
|
- php-user.ini=configurations/php-user.ini
|
||||||
|
- apache-user.cfg=configurations/apache-user.conf
|
||||||
- name: kustomize-generated-config
|
- name: kustomize-generated-config
|
||||||
literals:
|
literals:
|
||||||
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
||||||
|
|
|
@ -90,17 +90,21 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nextcloud-pv
|
- name: nextcloud-pv
|
||||||
mountPath: /var/www/html
|
mountPath: /var/www/html
|
||||||
- name: php-ini
|
- name: server-config
|
||||||
mountPath: /usr/local/etc/php/conf.d/php-user.ini
|
mountPath: /usr/local/etc/php/conf.d/php-user.ini
|
||||||
subPath: php-user.ini
|
subPath: php-user.ini
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: server-config
|
||||||
|
mountPath: /etc/apache2/conf-enabled/apache-user.conf
|
||||||
|
subPath: apache-user.conf
|
||||||
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: nextcloud-pv
|
- name: nextcloud-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: server-pvc
|
claimName: server-pvc
|
||||||
- name: php-ini
|
- name: server-config
|
||||||
configMap:
|
configMap:
|
||||||
name: php-ini
|
name: server-config
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
@ -111,7 +115,7 @@ spec:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 20Gi
|
storage: 100Gi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Reference in New Issue