hello folks! was wondering if its okay to run `dag...
# ask-community
r
hello folks! was wondering if its okay to run
dagster instance migrate
after every version bump? any side effects? reason I ask is because I was thinking of adding it as a k8s job via post install hook of the helm chart my alternative is to always ping platform team who have keys to prod so they can run the commands manually for me 😄 tyia 🙏
dagster bot responded by community 1
a
I wouldn't do it via post-install hook, mostly because applying migrations while jobs are running is likely not considered safe. the docs say to stop the daemon and dagit (and wait for jobs to complete if using a run launcher that spins up separate jobs, presumably) before running migrations
2
r
hey thanks for the heads up. So what would be a good way of automating this everytime we upgrade dagster?