Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: pixelfed-app-storage
|
|
namespace: pixelfed-application
|
|
labels:
|
|
app: pixelfed
|
|
# Enable S3 backup with correct Longhorn labels (daily + weekly)
|
|
recurring-job.longhorn.io/source: "enabled"
|
|
recurring-job-group.longhorn.io/longhorn-s3-backup: "enabled"
|
|
recurring-job-group.longhorn.io/longhorn-s3-backup-weekly: "enabled"
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany # Both web and worker need access
|
|
resources:
|
|
requests:
|
|
storage: 10Gi
|
|
storageClassName: longhorn-retain
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: pixelfed-cache-storage
|
|
namespace: pixelfed-application
|
|
labels:
|
|
app: pixelfed
|
|
# No backup needed for cache
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany # Both web and worker need access
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
storageClassName: longhorn-retain
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: pixelfed-env-storage
|
|
namespace: pixelfed-application
|
|
labels:
|
|
app: pixelfed
|
|
# Enable S3 backup for environment config (daily + weekly)
|
|
recurring-job.longhorn.io/source: "enabled"
|
|
recurring-job-group.longhorn.io/longhorn-s3-backup: "enabled"
|
|
recurring-job-group.longhorn.io/longhorn-s3-backup-weekly: "enabled"
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteMany # Both web and worker need access
|
|
resources:
|
|
requests:
|
|
storage: 1Gi
|
|
storageClassName: longhorn-retain |