diff --git a/cluster/apps/qbittorrent/qbittorrent-pvc.yml b/cluster/apps/qbittorrent/qbittorrent-pvc.yml index 1396178..dae6fdb 100644 --- a/cluster/apps/qbittorrent/qbittorrent-pvc.yml +++ b/cluster/apps/qbittorrent/qbittorrent-pvc.yml @@ -1,13 +1,34 @@ +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: qbittorrent-pv + namespace: default +spec: + capacity: + storage: 500Mi + volumeMode: Filesystem + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + mountOptions: + - hard + - nfsvers=4.1 + nfs: + path: /k3s/volumes/qbittorrent + server: 10.0.0.123 + --- apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: longhorn-qbittorrent + name: qbittorrent-pvc namespace: default spec: accessModes: - ReadWriteMany - storageClassName: longhorn + storageClassName: "" + volumeName: qbittorrent-pv resources: requests: storage: 500Mi diff --git a/cluster/apps/qbittorrent/qbittorrent.yml b/cluster/apps/qbittorrent/qbittorrent.yml index 8cea4f1..9a5aeba 100644 --- a/cluster/apps/qbittorrent/qbittorrent.yml +++ b/cluster/apps/qbittorrent/qbittorrent.yml @@ -56,7 +56,7 @@ spec: volumes: - name: config persistentVolumeClaim: - claimName: longhorn-qbittorrent + claimName: qbittorrent-pvc - name: downloads nfs: server: 10.0.0.123