tiup cluster prune
When scaling in the cluster, for some components, TiUP does not immediately stop their services or delete their data. You need to wait for the data scheduling to complete and then manually execute the tiup cluster prune
command to clean up.
Syntax
tiup cluster prune <cluster-name> [flags]
Option
-h, --help
- Prints the help information.
- Data type:
BOOLEAN
- Default: false
Output
The log of the cleanup process.