tiup
tiup copied to clipboard
Can we introduce a suite concept for TiUP playground
Feature Request
Is your feature request related to a problem? Please describe:
Currently, the TiUP playground runs a full cluster with TiDB/TiKV/TiFlash but without CDC. Can we introduce a suite
concept for TiUP playground component?
Describe the feature you'd like:
$ tiup playground suite add kv --tiflash 0
$ tiup playground suite add cdc --tiflash 0 --ticdc 1
$ tiup playground suite add htap --tiflash 2 --kv 2
$ tiup playground suite list
suite args
----- ----
kv --tiflash 0
cdc --tiflash 0 --ticdc 1
httap --tiflash 2 --kv 2
$ tiup playground --suite kv
Why the featue is needed:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
Actually, we do have a --mode
argument does exactly what you described. See the populateOpt()
function in components/playground/main.go
.