Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 1, 2020 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/253b1a5e34236ec8b1ddff2980281bc2 to your computer and use it in GitHub Desktop.
Save velotiotech/253b1a5e34236ec8b1ddff2980281bc2 to your computer and use it in GitHub Desktop.
SERVICE_NAME=
dcos package uninstall $SERVICE_NAME
dcos node ssh --option StrictHostKeyChecking=no --master-proxy
--leader "docker run mesosphere/janitor /janitor.py -r
${SERVICE_NAME}-role -p ${SERVICE_NAME}-principal -z dcos-service-${SERVICE_NAME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment