registry.mirantis.com/msr/dtr upgrade#
Upgrade a DTR 2.9.x cluster to DTR 2.10.x.
Usage#
docker run -it --rm registry.mirantis.com/msr/dtr \
upgrade [command options]
Description#
The dtr upgrade command upgrades DTR 2.9.x to the current version
(2.10.x) of the image.
Options#
| Option | Environment variable | Description |
|---|---|---|
--debug |
$DEBUG | Enable debug mode for additional logs. |
--existing-replica-id |
$MSR_REPLICA_ID | The ID of an existing MSR replica. To add, remove or modify MSR, you must connect to an existing healthy replica’s database. |
--help-extended |
$MSR_EXTENDED_HELP | Display extended help text for a given command. |
--nocolor |
$NOCOLOR | Disable output coloring in logs. |
--ucp-ca |
$UCP_CA | Use a PEM-encoded TLS CA certificate for MKE. Download the MKE TLS CA certificate from https://<mke-url>/ca, and use --ucp-ca "$(cat ca.pem)". |
--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-password |
$UCP_PASSWORD | The MKE administrator password. |
--ucp-url |
$UCP_URL | The MKE URL including domain and port. |
--ucp-username |
$UCP_USERNAME | The MKE administrator username. |
--max-wait |
$MAX_WAIT | The maximum amount of time MSR allows an operation to complete within. This is frequently used to allocate more startup time to very large MSR databases. The value is a Golang duration string. For example, "10m" represents 10 minutes. |
--registry-username <value> |
$REGISTRY_USERNAME | Set the registry username to use when pulling MSR images. |
--registry-password <value> |
$REGISTRY_PASSWORD | Set the registry password to use when pulling MSR images. |