Jan 14, 2019
0
Level 1
Question about deployment
Hey !
Currently I have a Laravel application on OpenShift (3 replicas with a loadbalancer in front). It's on autodeploy once I get an image change. I set the deployment on "Rolling".
Question is about the database: Once the first replica is updated, the database is also updated with a "php artisan migrate". So the 2 others replicas are outdated. I don't know how to handle this case, do you have a solution?
Thanks in advance.
Please or to participate in this conversation.