From bda76275b9f66edf77a47af70f0725086e7596ae Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Tue, 23 Jan 2024 12:43:51 -0500 Subject: [PATCH] qbittorrent nfs --- qbittorrent/deployment.yaml | 2 +- qbittorrent/pvc-data.yaml | 6 ++++-- qbittorrent/pvc-qbittorrent-config.yaml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qbittorrent/deployment.yaml b/qbittorrent/deployment.yaml index 5100b75..70857fb 100644 --- a/qbittorrent/deployment.yaml +++ b/qbittorrent/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: qbittorrent - namespace: qbittorrent + namespace: media spec: selector: matchLabels: diff --git a/qbittorrent/pvc-data.yaml b/qbittorrent/pvc-data.yaml index 8168921..442d70e 100644 --- a/qbittorrent/pvc-data.yaml +++ b/qbittorrent/pvc-data.yaml @@ -3,10 +3,12 @@ kind: PersistentVolumeClaim metadata: name: data namespace: qbittorrent + annotations: + nfs.io/storage-path: "media" spec: accessModes: - ReadWriteOnce - storageClassName: longhorn + storageClassName: nfs-client resources: requests: - storage: 20Gi + storage: 5Ti diff --git a/qbittorrent/pvc-qbittorrent-config.yaml b/qbittorrent/pvc-qbittorrent-config.yaml index e20b330..0a0646c 100644 --- a/qbittorrent/pvc-qbittorrent-config.yaml +++ b/qbittorrent/pvc-qbittorrent-config.yaml @@ -6,7 +6,7 @@ metadata: spec: resources: requests: - storage: 1Gi + storage: 50Gi storageClassName: longhorn accessModes: - ReadWriteOnce