Destroying your microservice in Marathon

There might be times you want to destroy a microservice or application that is already running on Marathon either because you want to free up some resources or because you would like to redeploy the application with a different set of Marathon configurations. This can be easily achieved from the application-specific page in Marathon.

Getting ready

Open the Marathon web interface in your browser, and navigate to the geolocation application page. If you don't have the application up and running, use JSON mode and deploy the application using the JSON that was used in previous recipe Scaling your Microservice in Marathon.

How to do it...

  1. Marathon applications can either be suspended or destroyed. Suspended applications ...

Get Microservices Deployment Cookbook 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.