From 3912ecef44c155002ddf34a666abd8544d0d3bf8 Mon Sep 17 00:00:00 2001 From: Mohammadreza Khani Date: Mon, 9 Dec 2024 01:51:40 +0330 Subject: [PATCH] fix(helm): wrong flink checkpoint and savepoint dirs config --- helm/templates/flink/deploy.yaml | 1 + helm/values.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/templates/flink/deploy.yaml b/helm/templates/flink/deploy.yaml index a83f9ad..067fe99 100644 --- a/helm/templates/flink/deploy.yaml +++ b/helm/templates/flink/deploy.yaml @@ -45,6 +45,7 @@ spec: rootLogger.level = DEBUG rootLogger.appenderRef.console.ref = ConsoleAppender web.upload.dir: /opt/flink/data/web-upload + state.checkpoints.dir: file:///tmp/flink-checkpoints volumeMounts: - name: flink-data mountPath: /opt/flink/data diff --git a/helm/values.yaml b/helm/values.yaml index f376065..fade56f 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -125,7 +125,7 @@ flink: state: backend: rocksdb # Use RocksDB for state backend savepoints: - dir: "/opt/flink/savepoints" # Directory to store savepoints + dir: "file:///opt/flink/savepoints" # Directory to store savepoints pvcName: flink-savepoints-pvc # PVC for savepoints persistence taskManager: