I'm attempting to work out how Airflow might work in a multi-tenant environment. Specifically the requirements should look something like this:
At this point it's not clear to me whether requirement 3. can be met with Airflow, short of giving each team a separate Airflow instance. Is there any way in which this can be achieved?
Airflow has traditionally been single-tenant product. Mutliple instances could be bound together to provide a multi-tenant implementation and when using a modern infrastructure - Kubernetes - you could even reuse resources between those - but it was not a true “multi-tenant” solution.
Multitenancy is a reference to the mode of operation of software where multiple independent instances of one or multiple applications operate in a shared environment. The instances (tenants) are logically isolated, but physically integrated.
In a multitenant deployment, information about the Business Central application is stored in a separate application database. Your customers' data is stored in separate business databases, each of which is a tenant in your deployment.
Airflow can stream full 4K HDR HEVC files to Chromecast Ultra, Built-in, Apple TV 4K and AirPlay 2 enabled TVs.
It depends what you mean with Airflow Instance.
You could spin up 2 groups of Airflow services (webserver, scheduler, worker) through systemctl, each of them relying on a different airflow.cfg.
In the airflow.cfg you would then separate the 2 groups.
Until Airflow Version 1.9.0:
The reason the user is still able to access all the dags is that it is a superuser
by default. Unless you use LDAP for authentication, all the users created are superusers and Airflow have no other roles.
However, if you use LDAP, you can have superuser and dataprofiler roles.
This should change in upcoming versions of Airflow.
As the documentation states here: You can use webserver:filter_by_owner
only if you are using LDAP authentication. So to achieve multi-tenancy, you can use LDAP and give superuser
permissions to only admins and have either user
or data_profiler
role for other users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With