Plug-in Documentation

Mesos Marathon

Overview

The Mesos Marathon plug-in includes steps to work with applications and tasks in a Marathon instance.

To add the Mesos Marathon plug-in steps to processes, click Cloud > Marathon in the step palette of the process editor.

Compatibility

The Mesos Marathon plug-in works with Marathon version 1 and later.

This plug-in requires version 6.0.1 or later of IBM UrbanCode Deploy.

Installation

No special steps are required for installation. See Installing plug-ins in UrbanCode products.

History

Version 1.803360

Version 1 is the initial release of the plug-in.

Steps

Process steps in the Mesos Marathon plug-in

Kill Tasks

End all tasks in an application.

Input properties for the Kill Tasks step
Name Type Description Required
Application Name String The name of the application to wait for. Yes
Marathon URL String The base URL where Marathon is running. Yes


Launch Application

Start an application on Marathon.

Input properties for the Launch Application step
Name Type Description Required
Application String Path to a file that contains the apps JSON definition. For a detailed description, see https://mesosphere.github.io/marathon/docs/rest-api.html#post-/v2/apps. Yes
Marathon URL String The base URL where Marathon is running. Yes


Remove Application

Remove an application from Marathon.

Input properties for the Remove Application step
Name Type Description Required
Application String Path to a file or HTTP(S) URL that contains the apps JSON definition. If omitted, the definition is read from stdin. For a detailed description, see https://mesosphere.github.io/marathon/docs/rest-api.html#post-/v2/apps. Yes
Marathon URL String The base URL where Marathon is running. Yes


Scale Application

Scale an application within Marathon.

Input properties for the Scale Application step
Name Type Description Required
Application Name String The name of the application to scale. Yes
Instances String The number of instances. Yes
Marathon URL String The base URL where Marathon is running. Yes