feat(k8s/storage): convert all stateful PVCs to static NFS PVs

This commit is contained in:
2026-03-10 22:36:35 +02:00
parent 83970f5d56
commit a3601cc7e5
14 changed files with 294 additions and 15 deletions

View File

@@ -15,3 +15,21 @@ spec:
nfs:
server: synology.storage.lviv
path: ${PODSYNC_NFS_PATH}
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: podsync-database
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
storageClassName: ""
persistentVolumeReclaimPolicy: Retain
mountOptions:
- hard
- nointr
nfs:
server: synology.storage.lviv
path: /volume3/k8s-storage/podsync-database

View File

@@ -20,7 +20,8 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-synology-ssd
storageClassName: ""
volumeName: podsync-database
resources:
requests:
storage: 1Gi