3 ms·
This can be implemented easy using Ansible http://docs.ansible.com/guide_rolling_upgrade.html http://docs.ansible.com/guide_rolling_upgrade.html btw article i
by ing33k 11y ago
This can be implemented easy using Ansible
http://docs.ansible.com/guide_rolling_upgrade.html http://docs.ansible.com/guide_rolling_upgrade.html
btw article is 4 years old
- mattzito 11y agoThis actually doesn't describe a green/blue environment - it describes having a single environment that has code deployed in a rolling fashion. Which is useful, but not this use case. It's also worth noting that this use case is actually pretty hard to model in ansible without external tools or the like. You basically need to deploy four jobs: - deploy new code to inactive environment - switch persona from inactive to active - reconfigure load balancer to send to newly active - switch formerly active persona to inactive within some or all of those individual tasks you might want to apply these rolling techniques. But since rollouts may not be idempotent and this process isn't transactional, you have to be very careful indeed to code this out.
- untothebreach 11y agoGreat link, I was actually reading that article just the other day, as I am looking into replacing puppet with ansible.
- igravious 11y ago? 5-years-old