-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [WorkerGroup] When deploying through 3.1.4 helm, setting WORKER_GROUPS and WORKER_GROUPS_0 in work env in values.yaml has no effect #13666
Comments
Search before asking
What happenedWhen I deploy a worker in k8s, I cannot register the worker to the specified workergroup. What you expected to happenIt is expected that when I modify the grouping in WORKER_GROUPS, I can register to the workergroup I specified at startup. Now it can only be registered to the default default at startup. How to reproduceUse the helm configuration file for version 3.1.4 Anything elseNo response Version3.1.x Are you willing to submit PR?
Code of Conduct
|
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
|
@qin-sy Hello, if u deploy DS through helm, the environment variable dolphinscheduler/deploy/kubernetes/dolphinscheduler/values.yaml Lines 384 to 392 in 30fd43e
Line 72 in 30fd43e
BTW, could u plz use English for issue description in the future? Thx. |
@EricGao888 google translate: env:
- WORKER_GROUPS_0: default
WORKER_MAX_CPU_LOAD_AVG: "-1"
WORKER_RESERVED_MEMORY: "0.3"
WORKER_EXEC_THREADS: "100"
WORKER_HEARTBEAT_INTERVAL: "10s"
WORKER_HEART_ERROR_THRESHOLD: "5"
WORKER_HOST_WEIGHT: "100"
- WORKER_GROUPS: "default"
+ WORKER_GROUPS: "another-works" |
Hi, @EricGao888 , this configuration in values.yaml may be outdated, environment variable WORKER_GROUP is useless in the latest version, i can create a PR to remove them. |
Search before asking
What happened
当我在k8s中部署worker时不能将worker注册到指定的workergroup中。
What you expected to happen
期望当我修改WORKER_GROUPS中的分组时可以在启动时注册到我指定的workergroup中。
当我在k8s中部署多个worker 的 StatefulSet 时,希望可以将不同的 StatefulSet 中的 POD 使用不同的分组管理。
现在启动时只能注册到默认的default中。
当我创建新的workergroup时,只能选择已经注册到default中的woker,
当 StatefulSet 中的POD增加或者减少时,需要人工修改workergroup中的设置。
How to reproduce
使用3.1.4版本的 helm 配置文件
修改WORKER_GROUPS、WORKER_GROUPS_0中的分组后部署到k8s中后在画面中查看workgroup
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: