Changeset 0.12.0 (#63)
This commit is contained in:
32
k8s/storage-pvc.yaml
Normal file
32
k8s/storage-pvc.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# k8s/storage-pvc.yaml
|
||||
# ============================================
|
||||
# Chat Switchboard - Storage PVC
|
||||
# ============================================
|
||||
# Persistent storage for file attachments, extraction queue,
|
||||
# and future knowledge base / compaction data.
|
||||
#
|
||||
# Requires ReadWriteMany (RWX) for multi-pod backend deployments.
|
||||
# CephFS is recommended; NFS also works.
|
||||
#
|
||||
# Variables:
|
||||
# NAMESPACE - deployment namespace
|
||||
# STORAGE_CLASS - StorageClass name (e.g. "cephfs")
|
||||
# STORAGE_SIZE - PVC size (e.g. "10Gi")
|
||||
# ENVIRONMENT - deployment environment label
|
||||
# ============================================
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: switchboard-storage${DEPLOY_SUFFIX}
|
||||
namespace: ${NAMESPACE}
|
||||
labels:
|
||||
app: switchboard
|
||||
component: storage
|
||||
env: ${ENVIRONMENT}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: "${STORAGE_CLASS}"
|
||||
resources:
|
||||
requests:
|
||||
storage: ${STORAGE_SIZE}
|
||||
Reference in New Issue
Block a user