Files
homeserver/Kubernetes_deployments/media/temp-deploy.yaml
Taqi Tahmid e5e8aa6b87 homeserver initial commit
- ansible
- docker-compose
- Kubernetes_deployments
2025-02-12 20:11:49 +02:00

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