use longhorn for nextcloud data
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 13s
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 13s
This commit is contained in:
@@ -12,3 +12,18 @@ spec:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storageClassName: longhorn
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nextcloud-data-longhorn
|
||||
namespace: tools
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
storageClassName: longhorn
|
||||
|
||||
@@ -43,9 +43,8 @@ spec:
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: nextcloud-data
|
||||
nfs:
|
||||
path: /home/akshun/nextcloud-data
|
||||
server: 10.0.0.10
|
||||
persistentVolumeClaim:
|
||||
claimName: nextcloud-data-longhorn
|
||||
- name: nextcloud-config
|
||||
persistentVolumeClaim:
|
||||
claimName: nextcloud-longhorn
|
||||
|
||||
Reference in New Issue
Block a user