diff --git a/components/playground/playground.go b/components/playground/playground.go index 4bcce7e807..d14985b7f5 100644 --- a/components/playground/playground.go +++ b/components/playground/playground.go @@ -814,8 +814,9 @@ func (p *Playground) bootCluster(ctx context.Context, env *environment.Environme p.bootOptions = options - if options.PD.Num < 1 || options.TiKV.Num < 1 { - return fmt.Errorf("all components count must be great than 0 (tikv=%v, pd=%v)", options.TiKV.Num, options.PD.Num) + // All others components depend on the pd, we just ensure the pd count must be great than 0 + if options.PD.Num < 1 { + return fmt.Errorf("all components count must be great than 0 (pd=%v)", options.PD.Num) } if !utils.Version(options.Version).IsNightly() {