david_arena
10/25/2020, 12:04 PMal_whatmough
10/25/2020, 12:18 PMmeltano ui starts Airflow as well - if you're using Kubernetes I'm guessing you might want to run Meltano and Airflow separately though?david_arena
10/25/2020, 12:23 PMdavid_arena
10/25/2020, 12:54 PMmeltano install orchestrator airflow
and then just run meltano ui
is there any other config required?al_whatmough
10/25/2020, 12:57 PMdavid_arena
10/25/2020, 1:03 PMdavid_arena
10/25/2020, 4:39 PMdavid_arena
10/25/2020, 4:40 PMdavid_arena
10/25/2020, 4:51 PMdavid_arena
10/25/2020, 4:52 PMdavid_arena
10/25/2020, 4:53 PMal_whatmough
10/26/2020, 3:46 AMmeltano ui had been changed! Back when I set it up, that command also started the Airflow scheduler but @douwe_maan merged that PR a while ago (which is a good change). I missed that change though so I was working from old knowledge 🙂al_whatmough
10/26/2020, 3:46 AMmeltano invoke airflow scheduler -D and meltano ui commands separatelyal_whatmough
10/26/2020, 3:48 AMdavid_arena
10/26/2020, 3:37 PMdavid_arena
10/26/2020, 3:38 PMdouwe_maan
10/26/2020, 10:48 PMdouwe_maan
10/26/2020, 10:52 PMmeltano ui and meltano invoke airflow scheduler, you will indeed need to run them separately, since they're independent processes with their own resource/network needs, and users that want to run one don't necessarily also want to run the other. Note that airflow scheduler and airflow webserver are also their own commands.
Their respective containers do need to share some resources though, as documented on https://meltano.com/docs/production.html and demonstrated in the example `docker-compose.yml`: https://meltano.com/docs/containerization.html#docker-compose, https://gitlab.com/meltano/files-docker-compose/-/blob/master/bundle/docker-compose.prod.ymldouwe_maan
10/26/2020, 10:54 PMmeltano ui to also run meltano invoke airflow scheduler (as we did before), but in general I think that that kind of process/service management and monitoring is exactly what you'd like to leave to a dedicated tool like Kubernetes, instead of combining two commands in one container. We can definitely discuss that more in a new issue though 😄douwe_maan
10/26/2020, 11:05 PMmeltano ui would also run the scheduler (since it doesn't), and since we specifically document meltano invoke airflow scheduler in multiple places (https://meltano.com/#orchestration, https://meltano.com/docs/orchestration.html#starting-the-airflow-scheduler) before we ever mention meltano ui, I thought it'd be clear from the current docs that the two commands are essentially unrelated, but it makes sense that some users may be expecting a single command that would run all of Meltano, the UI and the scheduler, and would be surprised not to found it.
Where/how do you think we could document this more clearly/explicitly?david_arena
10/27/2020, 12:13 AMvolumes:
- meltano_elt_logs_data:/project/.meltano/logs/elt
Its just sharing the logs - is the UI able to use that folder to recognise when something is running?
I got a bit confused when running the processes in different containers and the scheduler was running but the UI said nothing had run since start_time.david_arena
10/27/2020, 12:15 AMdouwe_maan
10/27/2020, 5:27 PMIts just sharing the logs - is the UI able to use that folder to recognise when something is running?
I got a bit confused when running the processes in different containers and the scheduler was running but the UI said nothing had run since start_time.@david_arena Metadata around running pipelines is stored in the system database: https://meltano.com/docs/project.html#system-database https://meltano.com/docs/production.html#storing-metadata
douwe_maan
10/27/2020, 5:28 PMAlso - the ideas in the helm chart are absurd 😄
So thats definitely a work in progressHaha 😄 If you think we're overthinking things in https://gitlab.com/meltano/meltano/-/issues/2149, would you like to weigh in with your thoughts? 🙂
douwe_maan
10/27/2020, 5:39 PMGenerally i think what you had removed was more featureful for a first time starter like myself than what we have now. I say that due to my circumstance that setting up meltano should be straight forwardMakes sense, having to run two commands as services instead of just one makes things feel more complicated than they need to be. I think there's value in users understanding that the scheduler and UI perform different tasks and are typically best managed as separate processes/services, but we can reduce the barrier to entry for new users trying things out locally. Would you like to create an issue to bring back the option to start the scheduler along with the UI?