Summary

In this chapter, we added storage capacity to a Swarm infrastructure using Flocker, and set a dedicated overlay network to make our example app, a Spark cluster, to work on it and be easily extendible by adding new nodes (also on new providers, such as DigitalOcean). After using our Spark installation and Flocker, we finally introduced Prometheus and Grafana to monitor the Swarm health and status. We will see new additional features that can be plugged into Swarm and how to secure a Swarm infrastructure in the next two chapters.

Get Native Docker Clustering with Swarm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.