Merge pull request #278 from 3dwardch3ng/app/qBittorrent
fix qBittorrent volumes
This commit is contained in:
@@ -27,14 +27,10 @@ spec:
|
||||
persistence:
|
||||
volumeName: "qbittorrent-config"
|
||||
volumeMounts:
|
||||
- name: qbittorrent-download
|
||||
- name: qbittorrent-download-pvc
|
||||
mountPath: /download
|
||||
volumes:
|
||||
- name: qbittorrent-config
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/qbittorrent/config
|
||||
type: Directory
|
||||
- name: qbittorrent-download
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/qbittorrent/download
|
||||
type: Directory
|
||||
@@ -41,6 +41,11 @@ spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
local:
|
||||
path: "/mnt/nfs/AppData/qbittorrent/download"
|
||||
claimRef:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
name: qbittorrent-download-pvc
|
||||
namespace: qbittorrent
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
@@ -48,4 +53,20 @@ spec:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- rpi5-cluster-node-3
|
||||
- rpi5-cluster-node-3
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: qbittorrent-download-pvc
|
||||
namespace: qbittorrent
|
||||
labels:
|
||||
name: qbittorrent-download-pvc
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 64Gi
|
||||
Reference in New Issue
Block a user