deployment - Best way to deploy Django app to OpenShift without downtime? -
i have been pushing new versions of django app openshift time now. @ first used general git push command. later on had add long running deploy commands. long story short took half hour complete deployment -> app unavailable.
enabled jenkins, first push fails , app unavailable time. jenkins runs on 1 gear, creates new gear , have 4 gears running. (one paid, because jenkins not work , stays alive time)
i've read hot deploy (page 40) might work without downtimes, afraid consistency(not sure read more it).
so, there these 3 options how push openshift. there third party service might use?
how push openshift minimize downtime , potentially number of gears used?
i think you've pretty answered own question, go hot deployment if need continuous delivery on app.
i'm not sure concerns consistency, if have them, use jenkins original ci purpose, , if ok, can push production using hot deployment.
basically, i'd have such workflow:
- make changes , commit them
- push jenkins ci server, check if tests , build passing
- push build gears using hot deployment
Comments
Post a Comment