-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How airflowinit service communicates with the other services? #1
Comments
All the Airflow services are connected to the Indeed, The Of course the |
Thanks for you quick answer! Really informative!
But a question still remains: Why make a whole container with a whole airflow image just to make ONE admin user? I did test this config yesterday, everything ran fine, but I noticed that the init service got down right after finishing what it was supposed to do. Why get up a container just to drop it later on? Why wouldn't I do what the init service does (setting env variables to the user, calling (to get clear that I got the importance of separating webserver and scheduler, I just don't get the need of the init one if you could do it on the others too) Thanks again! |
Init containers/steps are very important in devops, there is several reason to use one in this project:
|
Thanks, you made it clear for me. Again, tested your file here and everything ran fine. I even did some modifications to fit my MinIO and a MySQL which will simulate both external could services, MinIO an AWS S3 and MySQl an external DB of any sort. When I finish this study I'll upload it to my github too, and post its link here :) Your file an explanations really helped on this starting path. |
Since all services are completely separated containers, how does what airflow-init service (container) does affects the other two (webservice and scheduler) if they're separated, creating files each one on its own file system and etc?
Airflowinit creates the user and password, rigth, but how does it makes a difference on the others? There's no clear communication between then, their folders or files. Even their volumes are pointing to different folders.
How airflowinit makes a difference since it seems to be creating an user in a container that never executes airflow inside it? (this is done on the others by using "command: airflow webserver, scheduler etc")
So, how the other containers can know that there's a default user created if they're isolated from airflowinit's container and their folders aren't linked by volumes?
The text was updated successfully, but these errors were encountered: