Here are some ideas for running migrations in kubernetes.
- Using an init-container with
groundnuty/k8s-wait-for
to wait for the database to be up. - Using a Job to run the migrations.
- Using helm’s hooks to controll deployment in case of failure
Here are some ideas for running migrations in kubernetes.
groundnuty/k8s-wait-for
to wait for the database to be up.