+1 It's safe to remove the worker to create tenants automatically, so I don't think it's a problem. But, for some users or every time the docker container is restarted, you need to manually create a tenant. This operation is really cumbersome, so I agree to add a configuration switch. For automatic or manual creation of a tenant, let users choose
On Tue, Mar 9, 2021 at 10:24 AM 程世文 <[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]
