ⓘ You are viewing the documentation for older DKP releases. If you're looking for the new help center that includes the latest DKP release, go to https://docs.d2iq.com.
The application ID. You can view a list of the application IDs with the dcos marathon app list command.
Example
In the following example, we first run dcos marathon app list to get a list of currently deployed apps. After running the command dcos marathon app stop <app-id>, the system returns a deployment number. However, to confirm that the app has really been stopped, run dcos marathon app list again. This time you will see that the Kafka app shows zero tasks and zero health, indicating that it has stopped.
~$ dcos marathon app list
ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
/kafka 1024 1 1/1 1/1 --- False N/A export...
/spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh
~$ dcos marathon app stop kafka
Created deployment e2c02572-a673-41b9-ad67-cf1b7c042a91
~$ dcos marathon app list
ID MEM CPUS TASKS HEALTH DEPLOYMENT WAITING CONTAINER CMD
/kafka 1024 1 0/0 0/0 --- False N/A export...
/spark 1024 1 1/1 1/1 --- False DOCKER /sbin/init.sh