Files
homeserver/kubernetes/media/temp-deploy.yaml

22 lines
571 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: media-transfer-pod
spec:
restartPolicy: Never
containers:
- name: media-transfer
image: alpine # Use a lightweight image
command: ["/bin/sh", "-c", "sleep 3600"] # Keep the pod alive
volumeMounts:
- name: plex-media
mountPath: /mnt/longhorn
- name: existing-media
mountPath: /mnt/existing
volumes:
- name: plex-media
persistentVolumeClaim:
claimName: plex-media-longhorn
- name: existing-media
persistentVolumeClaim:
claimName: plex-media-pvc