Files
k8s-starter-pack/apps/soulsync/pvc.yaml
T

42 lines
970 B
YAML
Raw Normal View History

2026-10-09 10:41:09 +00:00
# Keep SoulSync's databases and downloaded artwork on Longhorn so they survive
# Pod replacement (see docs/06-longhorn.md).
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: soulsync-db
namespace: soulsync
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
---
# Configuration can contain connection settings and OAuth tokens, so persist it
# without putting those credentials in this public Git repository.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: soulsync-config
namespace: soulsync
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
# Persistent logs remain available when the container is recreated and make
# failures that happened before a restart easier to diagnose.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: soulsync-logs
namespace: soulsync
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi