mirantis/msr rethinkdb count

Obtain the number of active servers in the RethinkDB cluster.

Usage

msr rethinkdb count [command options] [arguments...]

Description

The rethinkdb count command prints to standard output the number of servers in the RethinkDB cluster that have the server tag default.

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

--wait-for-min-servers

Blocks the print action until the cluster contains a set number of servers.

  • Environment variable: N/A

  • Default: 0

--timeout value, -t value

The maximum amount of time to wait. For example, 3m2s.

  • Environment variable: N/A

  • Default: none

--help, -h

Indicates whether to show help.

  • Environment variable: N/A

  • Default: false