Cluster as Code

640 views · Published 4 April 2017 · 34:57 · Indexed 4 November 2026

Channel: The Linux Foundation · 2017 · Science & Technology

Watch on YouTube

This presentation will show how we can apply the idea of `as code` through the whole stack. From creating disk images, standing up bare metal clusters to running services everything is in source control, released via pull requests and deployed by a CI tool. I will describe how we build OS images using Dockerfiles, ‘unit test’ clusters and provision clusters using a declarative DSL and immutable servers. Using Mesos and Marathon enables us to have ephemeral and thereby immutable nodes, no particular node needs to be kept up instead Mesos and Marathon will reschedule tasks as needed. Using immutable servers and specifying our clusters in source control enables us to reason about our machine and cluster configuration. We can test changes before they are deployed and know that what is tested is the same as what is deployed. We can use pull requests to track and audit changes.

More from this channel