tt icon indicating copy to clipboard operation
tt copied to clipboard

replicaset: add `bootstrap`

Open askalt opened this issue 2 years ago • 0 comments

@TarantoolBot document Title: tt replicaset bootstrap bootstraps a Cartridge app or an instance

This patch adds new subcommand for the replicaset module. tt replicaset bootstrap [flags] <APP_NAME|APP_NAME:INSTANCE_NAME> bootstraps a Cartridge cluster or an instance.

The command combines two old cartridge-cli commands: setup and join. Examples:

tt replicaset bootstrap cartridge_app bootstraps the cluster from the default config file ("replicasets.yml" in the app directory), the file can be specified with --file option.

tt replicaset bootstrap --bootstrap-vshard cartridge_app bootstraps the cluster and vshard.

tt replicaset bootstrap --replicaset replicaset cartridge_app:inst joins the instance "inst" to the replicaset "replicaset".

Part of https://github.com/tarantool/tt/issues/316

askalt avatar Apr 19 '24 10:04 askalt