Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tiup 用法盖楼
|
username: WalterWj
tiup batch file distribution command:
tiup cluster push -h to view usage
tiup cluster push -h
Usage:
tiup cluster push <cluster-name> <local-path> <remote-path> [flags]
Flags:
-h, --help help for push
-N, --node strings Only execute on hosts with specified nodes
-R, --role strings Only execute on hosts with specified roles
Global Flags:
-c, --concurrency int max number of parallel tasks allowed (default 5)
--format string (EXPERIMENTAL) The format of output, available values are [default, json] (default "default")
--ssh string (EXPERIMENTAL) The executor type: 'builtin', 'system', 'none'.
--ssh-timeout uint Timeout in seconds to connect host via SSH, ignored for operations that don't need an SSH connection. (default 5)
--wait-timeout uint Timeout in seconds to wait for an operation to complete, ignored for operations that don't fit. (default 120)
-y, --yes Skip all confirmations and assumes 'yes'