In the last chapter, we explored Docker Swarm and its resources in detail. We learned how to build a highly available swarm locally, and in the cloud. Then, we discussed swarm services and stacks in depth. Finally, we created services and stacks in the swarm.
In this chapter, we will show you how we can update services and stacks running in Docker Swarm without interrupting their availability. This is called zero downtime deployment. We are also going to introduce swarm secrets as a means to securely provide sensitive information to containers of a service using those secrets.
The topics of this chapter are:
- Zero downtime deployment
- Secrets
After finishing this chapter, you will be able to:
- List two to three different deployment strategies commonly used to update a service without downtime
- Update a service in batches without causing a service...