Upgrading Ceph in Docker Swarm
This post is part of a series.
- Docker Swarm with Ceph for cross-server files
- Upgrading Ceph in Docker Swarm (This Post)
- Docker Swarm Cluster Improvements
This post is a followup to an earlier blog bost regarding setting up a docker-swarm cluster with ceph.
I’ve been running this cluster for a while now quite happily however since setting it up, a new version of ceph has been released - nautilus - so now it’s time for some upgrades.
Note: This post is out of date now.
I would suggest looking at this post and using the docker-compose based upgrade workflow instead, up to the housekeeping part.
I’ve mostly followed https://docs.ceph.com/docs/master/releases/nautilus/#upgrading-from-mimic-or-luminous but adapted it for the fact we’re running everything in docker. I recommend that you have a read though this yourself first to have an idea of what we are doing and why.
(It’s worth noting at this point that this guide was mostly written after the fact based on command history so I may have missed something. It’s always a good idea to do this on a test cluster first, or in a maintenance window!)