When starting a prefect server locally (or in cluster), it asks to create a tenant. What exactly is the concept of tenant here? I cant find any docs on the subject. Does it matter I create a tenant from my local machine, although prefect is running at kubernetes?
11/13/2020, 2:47 PM
Hi @Joël Luijmes - you're perfectly fine to create your tenant from your local machine, so long as it's pointed at your API. The tenant (or team, used interchangeably), is a unit of logical separation at the API level. In Prefect Server, this logical separation isn't really enforced because the normal enforcement is based on credentials baked into tokens that don't exist in Server; it was kept as a way to reduce the amount of code divergence between Cloud and Server.
11/13/2020, 3:12 PM
Ah understood, thanks 🙂
11/13/2020, 5:11 PM
If you can see a clear way to run this command from within the Helm chart I think it makes sense to create the default tenant at install time 🤷
11/14/2020, 10:14 AM
Yea I was also thinking about that, and also deploying the agent in the helm chart. I’ll try to work on this in following days 🙂
Would be nice additions to the helm chart
Oh in the other thread I see you already linked a PR doing this 🙂
11/16/2020, 3:15 PM
😄 feel free to submit a PR creating the default tenant though!