can I somehow rerun the flyteadmin init containers...
# flyte-deployment
f
can I somehow rerun the flyteadmin init containers or whatever initially creates the tables in the postgres db?
t
Hi Felix, I’ll get you some assistance soon, thanks for waiting!
y
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
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...
154 Views