Hi Community,
We test Kuberntes technology on GKE and in a first time, thanks very much for this great technology.
We wonder about best practice about database migrations strategy.
We have a Drupal docker image and a database managed by Google (not container).
With an operationnal view, when the kub service are open, update of framework may have upgrade database schema ( 8.00 -> 9.00 or 10.00 -> 11.00). We want to prefer a generic system native kubernetes.
My first google research guides me to :
- https://cloudnativedevopsblog.com/posts/database-migrations/
- https://stackoverflow.com/questions/48877182/kubernetes-rolling-deployments-and-database-migrations
- https://www.weave.works/blog/how-to-correctly-handle-db-schemas-during-kubernetes-rollouts
In a next time, we want to deploy other services with the same strategy : Mediawiki, Wordpress, PHP
Do you have best pratice ? (sorry for my poor experience)
Thank you in advance for your answers,
Fabrice