You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true.
Here are some migration libraries:
Here are some migration libraries:
is it even possible to do blue/green deploy if your schema changes radically?
Here's a really good guide on how to do this - https://docs.gitlab.com/ee/development/avoiding_downtime_in_...