From 9e9391fb90fd8a35accfd450ce51c4b8b59aafb5 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sat, 2 Nov 2024 19:22:42 +0100 Subject: [PATCH] add aria2c pvc --- .../base/mediaserver-rdtclient-deployment.yaml | 2 +- mediaserver/base/mediaserver-rdtclient-pvc.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/mediaserver/base/mediaserver-rdtclient-deployment.yaml b/mediaserver/base/mediaserver-rdtclient-deployment.yaml index 3c73104..2632840 100644 --- a/mediaserver/base/mediaserver-rdtclient-deployment.yaml +++ b/mediaserver/base/mediaserver-rdtclient-deployment.yaml @@ -70,7 +70,7 @@ spec: image: ghcr.io/rogerfar/aria2c:latest@sha256:4883224fdff79c6aca2458473b2498e1b037b68adbafb4e731a6146e5b4dbcb4 ports: - name: web - containerPort: 6800 + containerPort: 6888 - name: rpc containerPort: 6800 env: diff --git a/mediaserver/base/mediaserver-rdtclient-pvc.yaml b/mediaserver/base/mediaserver-rdtclient-pvc.yaml index 761eab9..9339c49 100644 --- a/mediaserver/base/mediaserver-rdtclient-pvc.yaml +++ b/mediaserver/base/mediaserver-rdtclient-pvc.yaml @@ -21,3 +21,15 @@ spec: resources: requests: storage: 100Gi +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: mediaserver-aria2c-data-pvc +spec: + storageClassName: nfs-client + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi