mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 07:55:06 +02:00
feat: rework media volumes
This commit is contained in:
@@ -40,16 +40,12 @@ spec:
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/music
|
||||
mountPath: /mnt/storage/music
|
||||
qbittorrent-cache:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-cache
|
||||
mountPath: "/downloads"
|
||||
usenet:
|
||||
downloads:
|
||||
enabled: true
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/video/.usenet
|
||||
mountPath: /mnt/storage/video/.usenet
|
||||
path: /mnt/storage/downloads
|
||||
mountPath: /mnt/storage/downloads
|
||||
|
||||
ingress:
|
||||
main:
|
||||
|
@@ -34,10 +34,6 @@ spec:
|
||||
config:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-config
|
||||
qbittorrent-cache:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-cache
|
||||
mountPath: "/downloads"
|
||||
downloads:
|
||||
enabled: true
|
||||
type: nfs
|
||||
|
@@ -13,40 +13,3 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: qbittorrent-cache
|
||||
namespace: media
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: local
|
||||
volumeName: qbittorrent-cache
|
||||
resources:
|
||||
requests:
|
||||
storage: 600Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: qbittorrent-cache
|
||||
spec:
|
||||
capacity:
|
||||
storage: 600Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
storageClassName: local
|
||||
local:
|
||||
path: /local-path/qbittorrent-cache
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- k3s-worker3
|
||||
|
@@ -41,10 +41,6 @@ spec:
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/video
|
||||
mountPath: /mnt/storage/video
|
||||
qbittorrent-cache:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-cache
|
||||
mountPath: "/downloads"
|
||||
|
||||
ingress:
|
||||
main:
|
||||
|
@@ -36,16 +36,12 @@ spec:
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/home/claude/books
|
||||
mountPath: /mnt/storage/home/claude/books
|
||||
usenet:
|
||||
downloads:
|
||||
enabled: true
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/video/.usenet
|
||||
mountPath: /mnt/storage/video/.usenet
|
||||
qbittorrent-cache:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-cache
|
||||
mountPath: "/downloads"
|
||||
path: /mnt/storage/downloads
|
||||
mountPath: /mnt/storage/downloads
|
||||
|
||||
service:
|
||||
main:
|
||||
|
@@ -34,7 +34,13 @@ spec:
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/downloads
|
||||
mountPath: /mnt/storage/downloads
|
||||
usenet:
|
||||
music-usenet:
|
||||
enabled: true
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/music/.usenet
|
||||
mountPath: /mnt/storage/music/.usenet
|
||||
video-usenet:
|
||||
enabled: true
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
|
@@ -39,10 +39,6 @@ spec:
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
path: /mnt/storage/video
|
||||
mountPath: /mnt/storage/video
|
||||
qbittorrent-cache:
|
||||
enabled: true
|
||||
existingClaim: qbittorrent-cache
|
||||
mountPath: "/downloads"
|
||||
|
||||
ingress:
|
||||
main:
|
||||
|
Reference in New Issue
Block a user