Hey. Is it possible to restart a daemon through the Dagster UI? Or would I need to restart my Container?
10/14/2021, 1:51 PM
You have to run dagster-daemon along with dagit
10/14/2021, 2:39 PM
Hi Francois - dagit doesn't have the ability to restart your daemon for you, but if you're running in something like docker-compose or docker swarm you should be able to configure it to restart automatically there
e.g. in docker-compose there's a
flag you can apply to containers
10/14/2021, 2:44 PM
Thanks. I'll look into that. I'm launching dagit and dagster-daemon in my container.
10/14/2021, 2:47 PM
got it, that's going to be trickier then. the flag i mentioned assumes that there's one main process for each container (so that it knows how to define a failure in order to restart the container)
splitting into two containers, one for dagit and one for the daemon, would allow you to have something like docker-compose restart them indepenently
10/14/2021, 4:42 PM
if you're running on a single vm (or in a single container, though that's less desirable) you can use OS-level facilities to ensure that the process restarts if it dies