This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new b03f2e22cd fix k8s master and worker start error (#11156)
b03f2e22cd is described below
commit b03f2e22cdd6e72b17eed76f6de121cafc8242fa
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 b618f1f8e1..6fe4bdd99c 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"