The cluster name is specified when the cluster is deployed. If you want to change the cluster name after the cluster is deployed, you can use the command
tiup cluster rename.
tiup cluster rename <old-cluster-name> <new-cluster-name> [flags]
<old-cluster-name>: The old cluster name.
<new-cluster-name>: The new cluster name.
- Prints help information.
- Data type:
- This option is disabled by default with the
falsevalue. To enable this option, add this option to the command, and either pass the
truevalue or do not pass any value.
The execution log of the tiup-cluster.
Was this page helpful?