https://flyte.org logo
#flyte-deployment
Title
# flyte-deployment
f

Felix Ruess

10/18/2022, 3:21 PM
can I somehow rerun the flyteadmin init containers or whatever initially creates the tables in the postgres db?
t

Tyler Su

10/18/2022, 6:20 PM
Hi Felix, I’ll get you some assistance soon, thanks for waiting!
y

Yee

10/18/2022, 6:21 PM
you can just kill the pod and the new one should come up
but can i ask why this is needed?
migrations will only run once
once run it saves the migration id to the db and will not run again.
if you need them to run again you’ll need to blow away the migrations table (carefully)
f

Felix Ruess

10/18/2022, 6:38 PM
thanks. I'm still playing around with the example flyte-deps and bit by bit replacing that with a proper deployment... so I removed the (non-persistent) example postgres and deployed my own with a pvc... And needed to trigger migration (creating the tables) again. Finally did it by running helm upgrade with some other changes I needed...