-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Closed
Copy link
Labels
Description
Product: tt cli
Since: tt 2.5.0
Audience/target: all
Root document: https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli/cluster/
SME: @ themilchenko @ oleg-jukovec
Details
To do together with #4433
This patch introduces new command for the cluster replicaset module:
tt cluster replicaset roles remove <URI> <ROLE_NAME> [flags]
URI is a target configuration source (etcd/tcs). ROLE_NAME is a role for
removing from a Tarantool config storage. It is necessary to provide flag
with destination in config for role removing. It can be one or more
destinations.
Command supports following flags:
- Flags for the destination of role removing:
--global (-G)for a global scope to remove a role;--instance (-i) stringfor an application name target to specify
an instance to remove a role;--replicaset (-r) stringfor an application name target to specify
a replicaset to remove a role;--group (-g) stringfor an application name target to specify a group.
- Common flag to interact with config storages (etcd / tarantool config
storage):--force (-f)to skip selecting a key for patching;--username (-u)is a username (used as etcd/tarantool config
storage credentials);--password (-p)is a password (used as etcd/tarantool config
storage credentials).
Closes #917
Requested by @themilchenko in tarantool/tt@a00a28a.