Off the Deep End: Using the Python API to Smartly Manage Complex Tasks

Off the Deep End: Using the Python API to Smartly Manage Complex Tasks

Drew Malone, Optiv

Once you’ve written your Salt states to install, configure, and manage your hundreds-of-nodes cluster, you have the building blocks for fully automating difficult tasks—like conducting a zero-downtime rolling upgrade of a 200-node Elasticsearch cluster. We took our Salt states and used Salt’s Python API to write a script that handles boring things like patches & updates. But it also turned a task that kept us up until 2 in the morning into a simple “set it and forget it” job. It even works over salt-ssh!

View More from SaltConf18

Thank You