DC/OS 1.10
If you are using DC/OS 1.10 and the installed service has a version greater than 2.0.0-x:
- Uninstall the service. From the DC/OS CLI, enter
dcos package uninstall --app-id=<instancename> beta-elastic
.
For example, to uninstall an Elastic instance named elastic-dev
, run:
dcos package uninstall --app-id=elastic-dev beta-elastic
Older versions
If you are running DC/OS 1.9 or older, or a version of the service that is older than 2.0.0-x, follow these steps:
- Stop the service. From the DC/OS CLI, enter
dcos package uninstall --app-id=<instancename> <packagename>
. For example,dcos package uninstall --app-id=elastic-dev beta-elastic
. - Clean up remaining reserved resources with the framework cleaner script,
janitor.py
. See DC/OS documentation for more information about the framework cleaner script.
For example, to uninstall an Elastic instance named elastic-dev
, run:
$ MY_SERVICE_NAME=elastic-dev
$ dcos package uninstall --app-id=$MY_SERVICE_NAME beta-elastic`.
$ dcos node ssh --master-proxy --leader "docker run mesosphere/janitor /janitor.py \
-r $MY_SERVICE_NAME-role \
-p $MY_SERVICE_NAME-principal \
-z dcos-service-$MY_SERVICE_NAME"