mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Added jellyfin data loader
This commit is contained in:
26
utils/jellyfin/jelly-pvc.yaml
Normal file
26
utils/jellyfin/jelly-pvc.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
kind: List
|
||||
metadata:
|
||||
resourceVersion: ""
|
||||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
finalizers:
|
||||
- kubernetes.io/pvc-protection
|
||||
labels:
|
||||
app.kubernetes.io/instance: jellyfin
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: jellyfin
|
||||
app.kubernetes.io/version: 10.8.13
|
||||
argocd.argoproj.io/instance: jellyfin
|
||||
helm.sh/chart: jellyfin-0.1.1
|
||||
name: jellyfin
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2T
|
||||
storageClassName: ceph-filesystem
|
||||
21
utils/jellyfin/jellyfin-loader.yaml
Normal file
21
utils/jellyfin/jellyfin-loader.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: pvloader
|
||||
namespace: jellyfin
|
||||
spec:
|
||||
containers:
|
||||
- name: loader
|
||||
image: alpine:latest
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "apk add --no-cache rsync && sleep infinity"
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin
|
||||
Reference in New Issue
Block a user