chore: make metube downloads writed to a temporary storage
This commit is contained in:
@@ -8,3 +8,4 @@ data:
|
|||||||
MAX_CONCURRENT_DOWNLOADS: "3"
|
MAX_CONCURRENT_DOWNLOADS: "3"
|
||||||
DELETE_FILE_ON_TRASHCAN: "true"
|
DELETE_FILE_ON_TRASHCAN: "true"
|
||||||
DEFAULT_OPTION_PLAYLIST_STRICT_MODE: "true"
|
DEFAULT_OPTION_PLAYLIST_STRICT_MODE: "true"
|
||||||
|
CLEAR_COMPLETED_AFTER: "600" # 10 min
|
||||||
|
|||||||
+2
-14
@@ -45,17 +45,5 @@ spec:
|
|||||||
cpu: "1700m"
|
cpu: "1700m"
|
||||||
volumes:
|
volumes:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
persistentVolumeClaim:
|
emptyDir:
|
||||||
claimName: metube-downloads-pvc
|
sizeLimit: 20Gi
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: metube-downloads-pvc
|
|
||||||
namespace: metube
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 10Gi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user