Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.55 KB

tiup-component-cluster-list.md

File metadata and controls

38 lines (26 loc) · 1.55 KB
title summary
tiup cluster list
tiup-cluster supports deploying multiple clusters using the same control machine. The `tiup cluster list` command outputs all clusters deployed by the currently logged-in user. The deployed cluster data is stored in the `~/.tiup/storage/cluster/clusters/` directory. Users can view the cluster name, deployment user, version, path, and private key used to connect the cluster.

tiup cluster list

tiup-cluster supports deploying multiple clusters using the same control machine. The tiup cluster list command outputs all clusters deployed by the currently logged-in user using this control machine.

Note:

The deployed cluster data is stored in the ~/.tiup/storage/cluster/clusters/ directory by default, so on the same control machine, the currently logged-in user cannot view the clusters deployed by other users.

Syntax

tiup cluster list [flags]

Options

-h, --help

  • Prints help information.
  • Data type: BOOLEAN
  • This option is disabled by default and its default value is false. To enable this option, you can add this option to the command, and pass the true value or do not pass any value.

Outputs

Outputs the table with the following fields:

  • Name: the cluster name
  • User: the deployment user
  • Version: the cluster version
  • Path: the path of the cluster deployment data on the control machine
  • PrivateKey: the path of the private key that is used to connect the cluster

<< Back to the previous page - TiUP Cluster command list