Hi, everyone!

After discussion and statistics, the result is as follows:

There are 10 replies:
+1: 7 replies
+0: 1 reply
-1: 2 replies, and there is no clear and reasonable reason for docker/k8s

Conclusion: Most people would prefer to add a configuration item to set whether 
the tenant is automatically created on Worker.

Please refer to the pr that implements this feature: 
https://github.com/apache/incubator-dolphinscheduler/pull/5007

Thank you all!


Best Regards

--
DolphinScheduler(Incubator) Contributor
Shiwen Cheng 程世文
Mobile: (+86)15201523580
Email: [email protected]



------------------------------------------------------------------
发件人:lidong dai <[email protected]>
发送时间:2021年3月10日(星期三) 23:57
收件人:dev <[email protected]>; 程世文 <[email protected]>
主 题:Re: [Discussion][Feature][Worker] Add a configuration item to set whether 
the tenant is automatically created on Worker

yes,  if you give -1,  please add your better suggestion



Best Regards
---------------
DolphinScheduler(Incubator) PPMC
Lidong Dai 
[email protected]
---------------

On Wed, Mar 10, 2021 at 10:24 PM 程世文 <[email protected]> wrote:
Hi, @zhuangchong, for docker/k8s container, you didn't give a reason.
 Do you have a reasonable refutation?

 Same question to @wushaojie

 Best Regards

 --
 DolphinScheduler(Incubator) Contributor
 Shiwen Cheng 程世文
 Mobile: (+86)15201523580
 Email: [email protected]


 ------------------------------------------------------------------
 发件人:zhuangchong <[email protected]>
 发送时间:2021年3月9日(星期二) 21:43
 收件人:dev <[email protected]>
 主 题:Re: [Discussion][Feature][Worker] Add a configuration item to set whether 
the tenant is automatically created on Worker


 Hi

 -1

 The operation of dolphin needs the system environment. Multi tenant is a 
precondition, and the creation of tenant needs root permission.

 Dolphin is a scheduling system executed in multi tenant OS environment



 > 2021年3月9日 下午12:01,lidong dai <[email protected]> 写道:
 > 
 > +1
 > 
 > this will more convenient for supporting cloud native
 > 
 > 
 > Best Regards
 > ---------------
 > DolphinScheduler(Incubator) PPMC
 > Lidong Dai
 > [email protected]
 > ---------------
 > 
 > 
 > On Tue, Mar 9, 2021 at 11:10 AM CalvinKirs <[email protected]> wrote:
 > 
 >> 
 >> 
 >> +0
 >> 
 >> 
 >> If you pull up a new container environment, you should create a
 >> corresponding tenant. This is always the scope of the system operation
 >> engineer.
 >> 
 >> 
 >> It is not necessarily a good thing to give users more choice.
 >> 
 >> 
 >> Best  wishes!
 >> CalvinKirs
 >> 
 >> 
 >> On 03/9/2021 10:57,boyi<[email protected]> wrote:
 >> hi:
 >> 
 >> 
 >> +1
 >> 
 >> 
 >> Agree to add switch control. The default value is auto create .
 >> 
 >> 
 >> Not only the docker environment, but also the current distribution version
 >> creates tenants automatically
 >> In terms of compatibility and user experience, automatic creation by
 >> default is better
 >> 
 >> 
 >> --------------------------------------
 >> BoYi ZhangE-mail : [email protected]
 >> On 03/9/2021 10:24,程世文<[email protected]> wrote:
 >> Hi, everyone
 >> 
 >> I want to discuss the following feature, thank you all!
 >> 
 >> In short words, you can reply:
 >> 
 >> +1: Agree
 >> -1: Please give a reasonable explanation to retort the following two
 >> scenario descriptions
 >> No reply: Prefer to agree
 >> 
 >> **Describe the feature**
 >> 
 >> In the dev branch, the tenant executing a task will not be automatically
 >> created in worker. This will cause issue [#4995](
 >> https://github.com/apache/incubator-dolphinscheduler/issues/4995)
 >> 
 >> In the following two scenarios, it will cause inconvenience to users
 >> 
 >> - Product or operation people want to automatically create users instead
 >> of manually creating tenants
 >> - In the docker container environment, the tenants cannot be created in
 >> advance. Once the container is pulled up again, all tenants will disappear
 >> 
 >> **Which version of Dolphin Scheduler:**
 >> 
 >> - [dev]
 >> 
 >> **Is your feature request related to a problem? Please describe.**
 >> 
 >> In the docker container environment, it's a very painful thing to create
 >> new tenants on every worker every time.
 >> 
 >> **Describe the solution you'd like**
 >> 
 >> Add a configuration item to set whether the tenant is automatically
 >> created on Worker
 >> 
 >> The default value of this configuration item is `false`, but it needs to
 >> be set to `true` in the container
 >> 
 >> The name of this configuration item is `worker.tenant.auto.create`
 >> 
 >> **Additional context**
 >> 
 >> Previous dev email discussion:
 >> https://lists.apache.org/thread.html/ra44b2e69759fcc980e4ed04c1811037bf0e743e47827fc2dcd1049d6%40%3Cdev.dolphinscheduler.apache.org%3E
 >> 
 >> Related issue:
 >> https://github.com/apache/incubator-dolphinscheduler/issues/5006
 >> https://github.com/apache/incubator-dolphinscheduler/issues/4995
 >> 
 >> 
 >> Best Regards
 >> 
 >> --
 >> DolphinScheduler(Incubator) Contributor
 >> Shiwen Cheng 程世文
 >> Mobile: (+86)15201523580
 >> Email: [email protected]



Reply via email to