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:
|
requests:
|
||||||
storage: 2Gi
|
storage: 2Gi
|
||||||
storageClassName: longhorn
|
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
|
mountPath: /config
|
||||||
volumes:
|
volumes:
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
nfs:
|
persistentVolumeClaim:
|
||||||
path: /home/akshun/nextcloud-data
|
claimName: nextcloud-data-longhorn
|
||||||
server: 10.0.0.10
|
|
||||||
- name: nextcloud-config
|
- name: nextcloud-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: nextcloud-longhorn
|
claimName: nextcloud-longhorn
|
||||||
|
|||||||
Reference in New Issue
Block a user