dcos marathon deployment stop

Cancelling in-progress application deployment

Description

The dcos marathon deployment stop command allows you to cancel the in-progress deployment of an application.

Usage

  1. dcos marathon deployment stop <deployment-id>

Options

NameDescription
-h, —helpDisplay info about usage of this command.

Positional arguments

NameDescription
<deployment-id>The deployment ID. You can view a list of the deployment IDs with the dcos marathon deployment list command.

Example

In the following example, we will first run dcos marathon deployment list to obtain the deployment ID, then run dcos marathon deployment stop with the deployment-id to stop deployment. The system does not provide any confirmation output, so we run dcos marathon deployment list again to confirm that the deployment has stopped.

  1. dcos marathon deployment list
  2. APP POD ACTION PROGRESS ID
  3. /confluent-zookeeper - scale 1/2 09db9c92-5662-4613-bff1-d20c3c876466
  4. dcos marathon deployment stop 09db9c92-5662-4613-bff1-d20c3c876466
  5. dcos marathon deployment list
  6. There are no deployments

Parent command

CommandDescription
dcos marathonDeploy and manage applications to DC/OS.