Browse Source

fix k8s master and worker start error (#11156)

3.0.0/version-upgrade
caishunfeng 2 years ago
parent
commit
9742502ea3
  1. 11
      deploy/kubernetes/dolphinscheduler/values.yaml

11
deploy/kubernetes/dolphinscheduler/values.yaml

@ -180,12 +180,14 @@ master:
MASTER_EXEC_TASK_NUM: "20" MASTER_EXEC_TASK_NUM: "20"
MASTER_DISPATCH_TASK_NUM: "3" MASTER_DISPATCH_TASK_NUM: "3"
MASTER_HOST_SELECTOR: "LowerWeight" 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_RETRYTIMES: "5"
MASTER_TASK_COMMIT_INTERVAL: "1000" MASTER_TASK_COMMIT_INTERVAL: "1s"
MASTER_STATE_WHEEL_INTERVAL: "5s"
MASTER_MAX_CPU_LOAD_AVG: "-1" MASTER_MAX_CPU_LOAD_AVG: "-1"
MASTER_RESERVED_MEMORY: "0.3" MASTER_RESERVED_MEMORY: "0.3"
MASTER_FAILOVER_INTERVAL: 10 MASTER_FAILOVER_INTERVAL: "10m"
MASTER_KILL_YARN_JOB_WHEN_HANDLE_FAILOVER: "true" MASTER_KILL_YARN_JOB_WHEN_HANDLE_FAILOVER: "true"
worker: worker:
@ -259,7 +261,8 @@ worker:
WORKER_MAX_CPU_LOAD_AVG: "-1" WORKER_MAX_CPU_LOAD_AVG: "-1"
WORKER_RESERVED_MEMORY: "0.3" WORKER_RESERVED_MEMORY: "0.3"
WORKER_EXEC_THREADS: "100" WORKER_EXEC_THREADS: "100"
WORKER_HEARTBEAT_INTERVAL: "10" WORKER_HEARTBEAT_INTERVAL: "10s"
WORKER_HEART_ERROR_THRESHOLD: "5"
WORKER_HOST_WEIGHT: "100" WORKER_HOST_WEIGHT: "100"
WORKER_GROUPS: "default" WORKER_GROUPS: "default"

Loading…
Cancel
Save