fix qBittorrent volumes
This commit is contained in:
@@ -28,13 +28,4 @@ spec:
|
||||
volumeName: "qbittorrent-config"
|
||||
volumeMounts:
|
||||
- name: qbittorrent-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
|
||||
mountPath: /download
|
||||
@@ -15,6 +15,32 @@ spec:
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
local:
|
||||
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:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
|
||||
Reference in New Issue
Block a user