Merge pull request #278 from 3dwardch3ng/app/qBittorrent
fix qBittorrent volumes
This commit is contained in:
@@ -27,14 +27,10 @@ spec:
|
|||||||
persistence:
|
persistence:
|
||||||
volumeName: "qbittorrent-config"
|
volumeName: "qbittorrent-config"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: qbittorrent-download
|
- name: qbittorrent-download-pvc
|
||||||
mountPath: /download
|
mountPath: /download
|
||||||
volumes:
|
volumes:
|
||||||
- name: qbittorrent-config
|
- name: qbittorrent-config
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /mnt/nfs/AppData/qbittorrent/config
|
path: /mnt/nfs/AppData/qbittorrent/config
|
||||||
type: Directory
|
|
||||||
- name: qbittorrent-download
|
|
||||||
hostPath:
|
|
||||||
path: /mnt/nfs/AppData/qbittorrent/download
|
|
||||||
type: Directory
|
type: Directory
|
||||||
@@ -41,6 +41,11 @@ spec:
|
|||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
local:
|
local:
|
||||||
path: "/mnt/nfs/AppData/qbittorrent/download"
|
path: "/mnt/nfs/AppData/qbittorrent/download"
|
||||||
|
claimRef:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
name: qbittorrent-download-pvc
|
||||||
|
namespace: qbittorrent
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
required:
|
required:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
@@ -48,4 +53,20 @@ spec:
|
|||||||
- key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
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