fix qBittorrent volumes
This commit is contained in:
@@ -28,13 +28,4 @@ spec:
|
|||||||
volumeName: "qbittorrent-config"
|
volumeName: "qbittorrent-config"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: qbittorrent-download
|
- name: qbittorrent-download
|
||||||
mountPath: /download
|
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
|
|
||||||
@@ -15,6 +15,32 @@ spec:
|
|||||||
persistentVolumeReclaimPolicy: Retain
|
persistentVolumeReclaimPolicy: Retain
|
||||||
local:
|
local:
|
||||||
path: "/mnt/nfs/AppData/qbittorrent/config"
|
path: "/mnt/nfs/AppData/qbittorrent/config"
|
||||||
|
nodeAffinity:
|
||||||
|
required:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5-cluster-node-3
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: qbittorrent-download
|
||||||
|
namespace: qbittorrent
|
||||||
|
labels:
|
||||||
|
type: local
|
||||||
|
spec:
|
||||||
|
storageClassName: local-path
|
||||||
|
volumeMode: Filesystem
|
||||||
|
capacity:
|
||||||
|
storage: 64Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
local:
|
||||||
|
path: "/mnt/nfs/AppData/qbittorrent/download"
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
required:
|
required:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
|
|||||||
Reference in New Issue
Block a user