Skip to content

Commit

Permalink
tiup: Update tiup-playground.md (#16916)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn0915 authored Mar 28, 2024
1 parent b2d6913 commit 4d40930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiup/tiup-playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ tiup playground scale-in --pid 86526
从 v8.0.0 起,PD 支持[微服务模式](/pd-microservices.md)(实验特性)。你可以通过 TiUP Playground 为集群部署 `tso` 微服务和 `scheduling` 微服务。

```shell
./tiup-playground v8.0.0 --pd.mode ms --pd.api 3 --pd.tso 2 --pd.scheduling 3
tiup playground v8.0.0 --pd.mode ms --pd.api 3 --pd.tso 2 --pd.scheduling 3
```

- `--pd.mode`:当指定 `--pd.mode``ms` 时,代表启用 PD 微服务模式。
- `--pd.api num`:指定 PD 微服务 API 的数量,需要大于等于 `1`
- `--pd.tso num`:指定要部署的 `tso` 微服务的实例数量。
- `--pd.scheduling num`:指定要部署的 `scheduling` 微服务的实例数量。
- `--pd.scheduling num`:指定要部署的 `scheduling` 微服务的实例数量。

0 comments on commit 4d40930

Please sign in to comment.