fix qBittorrent volumes
This commit is contained in:
@@ -29,12 +29,3 @@ spec:
|
|||||||
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
|
|
||||||
@@ -23,3 +23,29 @@ spec:
|
|||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- rpi5-cluster-node-3
|
- 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:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5-cluster-node-3
|
||||||
Reference in New Issue
Block a user