From 2982e9614f90e120075ceeb93ef979b179075ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 20 Jul 2025 02:29:49 +0000 Subject: [PATCH] added por volumes from storage-limbosolutions-com changed resource limits --- README.md | 11 ---- nextcloud/values.yaml | 55 ++++++++++++++----- persistance-volumes-claims.yaml | 96 +++++++++++++++++++++++++++++++++ persistance-volumes.yaml | 15 ------ 4 files changed, 139 insertions(+), 38 deletions(-) create mode 100644 persistance-volumes-claims.yaml delete mode 100644 persistance-volumes.yaml diff --git a/README.md b/README.md index cb5d7cc..4d5e3bb 100644 --- a/README.md +++ b/README.md @@ -77,14 +77,3 @@ helm upgrade --install nextcloud nextcloud/nextcloud \ --values ./nextcloud/values.local.yaml \ --namespace=cloud-limbosolutions-com ``` - -## backups - -``` bash -set -a -source ./jobs/backup/.env -set +a -envsubst < ./jobs/backup/secret.yaml | kubectl apply -f - -kubectl apply -f ./jobs/backup/backup-cronjob.yaml -``` - diff --git a/nextcloud/values.yaml b/nextcloud/values.yaml index ba1f592..e5c4c68 100644 --- a/nextcloud/values.yaml +++ b/nextcloud/values.yaml @@ -45,24 +45,55 @@ persistence: annotations: {} accessMode: ReadWriteOnce size: 8Gi - -#limits: -# cpu: 100m -# memory: 128Mi -#requests: -# cpu: 100m -# memory: 128Mi +resources: + limits: + cpu: "1" + memory: 3000Mi + requests: + cpu: "0.5" + memory: 512Mi nextcloud: extraVolumes: - - name: mf-documents - persistentVolumeClaim: - claimName: mf-documents-storage-limbosolutions-com + - name: mf-documents + persistentVolumeClaim: + claimName: mf-documents-storage-limbosolutions-com + + - name: mf-photos + persistentVolumeClaim: + claimName: mf-photos-storage-limbosolutions-com + + - name: media-gaming + persistentVolumeClaim: + claimName: media-gaming-storage-limbosolutions-com + - name: media-music + persistentVolumeClaim: + claimName: media-music-storage-limbosolutions-com + - name: media-videos + persistentVolumeClaim: + claimName: media-videos-storage-limbosolutions-com + - name: it-storage + persistentVolumeClaim: + claimName: itstorage-storage-limbosolutions-com extraVolumeMounts: - - name: mf-documents - mountPath: /mf.documents + - name: mf-documents + mountPath: /var/www/html/data/marcio.fernandes/files/Documents + - name: mf-photos + mountPath: /var/www/html/data/marcio.fernandes/files/Photos + + - name: media-gaming + mountPath: /var/www/html/data/marcio.fernandes/files/Gaming + + - name: media-music + mountPath: /var/www/html/data/marcio.fernandes/files/Music + + - name: media-videos + mountPath: /var/www/html/data/marcio.fernandes/files/Videos + + - name: it-storage + mountPath: /var/www/html/data/marcio.fernandes/files/NeirdStorage configs: https.config.php: |-