This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 3.0.0-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 9742502ea39e0625fa9853507f47b7658dbcc2f6
Author: caishunfeng <[email protected]>
AuthorDate: Wed Jul 27 09:23:17 2022 +0800

    fix k8s master and worker start error (#11156)
---
 deploy/kubernetes/dolphinscheduler/values.yaml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/deploy/kubernetes/dolphinscheduler/values.yaml 
b/deploy/kubernetes/dolphinscheduler/values.yaml
index fd07fc874c..c3da0c47a5 100644
--- a/deploy/kubernetes/dolphinscheduler/values.yaml
+++ b/deploy/kubernetes/dolphinscheduler/values.yaml
@@ -180,12 +180,14 @@ master:
     MASTER_EXEC_TASK_NUM: "20"
     MASTER_DISPATCH_TASK_NUM: "3"
     MASTER_HOST_SELECTOR: "LowerWeight"
-    MASTER_HEARTBEAT_INTERVAL: "10"
+    MASTER_HEARTBEAT_INTERVAL: "10s"
+    MASTER_HEARTBEAT_ERROR_THRESHOLD: "5"
     MASTER_TASK_COMMIT_RETRYTIMES: "5"
-    MASTER_TASK_COMMIT_INTERVAL: "1000"
+    MASTER_TASK_COMMIT_INTERVAL: "1s"
+    MASTER_STATE_WHEEL_INTERVAL: "5s"
     MASTER_MAX_CPU_LOAD_AVG: "-1"
     MASTER_RESERVED_MEMORY: "0.3"
-    MASTER_FAILOVER_INTERVAL: 10
+    MASTER_FAILOVER_INTERVAL: "10m"
     MASTER_KILL_YARN_JOB_WHEN_HANDLE_FAILOVER: "true"
 
 worker:
@@ -259,7 +261,8 @@ worker:
     WORKER_MAX_CPU_LOAD_AVG: "-1"
     WORKER_RESERVED_MEMORY: "0.3"
     WORKER_EXEC_THREADS: "100"
-    WORKER_HEARTBEAT_INTERVAL: "10"
+    WORKER_HEARTBEAT_INTERVAL: "10s"
+    WORKER_HEART_ERROR_THRESHOLD: "5"
     WORKER_HOST_WEIGHT: "100"
     WORKER_GROUPS: "default"
 

Reply via email to