August 31, 2017

Use Ansible to apply rolling updates to Docker swarm nodes

Even with all those elastic superscaling whatsoever buzzword stuff, sometimes it just comes down to simple upgrading a component like Docker daemon itself or a new kernel. With swarm, this means draining the node, do our stuff, probably reboot and then set it active again. Being ephemeral is cool, so we could spawn new (updated) swarm members using Ansible and then destroy the old hard-working bees afterwards. But to me, this seems more like a “just because we can”, even more then running small or medium sized swarms/clusters. Read more