Destroy a MSR replica’s data
docker run -it --rm mirantis/dtr \
destroy [command options]
This command forcefully removes all containers and volumes associated with a MSR replica without notifying the rest of the cluster. Use this command on all replicas uninstall MSR.
Use the ‘remove’ command to gracefully scale down your MSR cluster.
Option | Environment variable | Description |
---|---|---|
--replica-id |
$DTR_DESTROY_REPLICA_ID | The ID of the replica to destroy. |
--ucp-url |
$UCP_URL | The MKE URL including domain and port. |
--ucp-username |
$UCP_USERNAME | The MKE administrator username. |
--ucp-password |
$UCP_PASSWORD | The MKE administrator password. |
--debug |
$DEBUG | Enable debug mode for additional logs. |
--help-extended |
$DTR_EXTENDED_HELP | Display extended help text for a given command. |
--ucp-insecure-tls |
$UCP_INSECURE_TLS | Disable TLS verification for MKE. The installation uses TLS but always
trusts the TLS certificate used by MKE, which can lead to man-in-the-middle attacks. For production deployments, use
--ucp-ca “$(cat ca.pem)” instead. |
--ucp-ca |
$UCP_CA | Use a PEM-encoded TLS CA certificate for MKE.Download the MKE TLS CA
certificate from https:// /ca , and use --ucp-ca "$(cat ca.pem)" . |