--- apiVersion: v1 kind: PersistentVolume metadata: namespace: nextcloud name: nextcloud-nfs labels: directory: nextcloud spec: storageClassName: fast capacity: storage: "150Gi" volumeMode: Filesystem accessModes: - ReadWriteOnce nfs: path: /kluster/nextcloud server: 192.168.1.157 --- apiVersion: v1 kind: PersistentVolumeClaim metadata: namespace: nextcloud name: nextcloud-nfs spec: storageClassName: fast accessModes: - ReadWriteOnce resources: requests: storage: "150Gi" selector: matchLabels: directory: nextcloud