Browse Source

[conf] Update master config on k8s (#8045)

Co-authored-by: caishunfeng <534328519@qq.com>
wind 3 years ago
parent
commit
c16f65e0d1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      deploy/kubernetes/dolphinscheduler/values.yaml

+ 2 - 0
deploy/kubernetes/dolphinscheduler/values.yaml

@@ -184,6 +184,8 @@ master:
     MASTER_TASK_COMMIT_INTERVAL: "1000"
     MASTER_MAX_CPU_LOAD_AVG: "-1"
     MASTER_RESERVED_MEMORY: "0.3"
+    MASTER_FAILOVER_INTERVAL: 10
+    MASTER_KILL_YARN_JOB_WHEN_HANDLE_FAILOVER: "true"
 
 worker:
   ## PodManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.