mesos

Cleaning Apps from Mesos Using Marathon Recipe

October 28, 2019
mesos, marathon, devops, python

Problem # It is common to see services deployed to mesos that are not in use anymore or have been over-provisioned to support testing such as QA validation or performance. Not cleaning up those services can result in extra costs. Cleanup Process # Marathon offers a convenient REST API that supports mesos parallel scaling resizing, allowing the cleanup process to be automated (see marathon REST API). The cleanup process can be specified through SLA per environment such as DEV (all instances will be resized to 0 nightly), TEST and STAGE (all instances will be resized to 1). ...