feat: separate ha and checkpoint pvc

This commit is contained in:
2024-12-20 17:12:51 +03:30
parent 4ed533f284
commit 37936c8c58
8 changed files with 53 additions and 26 deletions

View File

@@ -125,14 +125,17 @@ flink:
state:
backend: rocksdb # Use RocksDB for state backend
savepoints:
dir: "file:///opt/flink/savepoints" # Directory to store savepoints
dir: "/opt/flink/savepoints" # Directory to store savepoints
pvcName: flink-savepoints-pvc # PVC for savepoints persistence
size: 10Gi # PVC size for savepoints storage
data:
dir: "/opt/flink/data" # Directory to store checkpoints/web-upload/rocksdb
pvcName: flink-data-pvc # PVC for checkpoints/web-upload/rocksdb
size: 10Gi # PVC size for checkpoints/web-upload/rocksdb
ha:
dir: "/opt/flink/ha" # Directory to store ha data
pvcName: flink-ha-pvc # PVC for ha
size: 10Gi # PVC size for ha
taskManager:
numberOfTaskSlots: 100 # Number of task slots for TaskManager
persistence:
enabled: true
size: 10Gi # PVC size for savepoints storage
accessModes:
- ReadWriteOnce