+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