mirantis/msr db scale

Change the replication factor of RethinkDB tables in use by MSR.

When the --replicas flag is present, the db scale command uses the associated value as the replication factor for the tables. Otherwise, the replication factor is set automatically, based on the number of RethinkDB servers that are connected to the server at that moment.

Usage

msr db scale [command options] [arguments...]

Options

Option

Description

--rethinkdb-addr value

The RethinkDB address.

  • Environment variable: $MSR_RETHINKDB_ADDR

  • Default: msr-rethinkdb-proxy:28015

--rethinkdb-client-cert value

The path for the RethinkDB client certificate file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_CERT_FILE

  • Default: /certs/rethinkdb-client/tls.crt

--rethinkdb-client-key value

The path for the RethinkDB client key file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_KEY_FILE

  • Default: /certs/rethinkdb-client/tls.key

--rethinkdb-ca value

The path for the RethinkDB ca certificate file.

  • Environment variable: $MSR_RETHINKDB_CA_CERT_FILE

  • Default: /certs/rethinkdb/ca.crt

--rethinkdb-insecure-skip-verify

Indicates whether to skip TLS verification.

  • Environment variable: $MSR_RETHINKDB_INSECURE_SKIP_VERIFY

  • Default: false

--replicas value

The number of RethinkDB servers to replicate new tables across.

  • Environment variable: $MSR_DB_REPLICAS

  • Default: auto

--help, -h

Indicates whether to show help.

  • Environment variable: N/A

  • Default: false