From 146abb122ef63ecf5bd22ebb13560318848bead4 Mon Sep 17 00:00:00 2001 From: enkilee Date: Thu, 11 Jan 2024 10:48:15 +0800 Subject: [PATCH 1/4] fix PR 16009 --- tiup/tiup-component-cluster-template.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tiup/tiup-component-cluster-template.md b/tiup/tiup-component-cluster-template.md index 628002ccaee56..1877ed1410274 100644 --- a/tiup/tiup-component-cluster-template.md +++ b/tiup/tiup-component-cluster-template.md @@ -28,6 +28,11 @@ If this option is not specified, the output default template contains the follow - Outputs a detailed topology template that is commented with configurable parameters. To enable this option, add it to the command. - If this option is not specified, the simple topology template is output by default. +### --local + +- Outputs a simple topology template for local cluster which can used directly, parameter `global` can be modify by user needed. +- This template will create PD service, TiDB service, TiKV service, monitoring service and Gfafana service. + ### --multi-dc - Outputs the topology template of multiple data centers. To enable this option, add it to the command. From 0ae60c069a044d87a1fa2236557048715d20bdcf Mon Sep 17 00:00:00 2001 From: enkilee Date: Thu, 11 Jan 2024 14:42:27 +0800 Subject: [PATCH 2/4] fix error --- tiup/tiup-component-cluster-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiup/tiup-component-cluster-template.md b/tiup/tiup-component-cluster-template.md index 1877ed1410274..b71f884e30bbc 100644 --- a/tiup/tiup-component-cluster-template.md +++ b/tiup/tiup-component-cluster-template.md @@ -31,7 +31,7 @@ If this option is not specified, the output default template contains the follow ### --local - Outputs a simple topology template for local cluster which can used directly, parameter `global` can be modify by user needed. -- This template will create PD service, TiDB service, TiKV service, monitoring service and Gfafana service. +- This template will create PD service, TiDB service, TiKV service, monitoring service and Grafana service. ### --multi-dc From 589bdf33ed145fc7de07c0eca1f06b9abf466424 Mon Sep 17 00:00:00 2001 From: enkilee Date: Tue, 16 Jan 2024 12:50:49 +0800 Subject: [PATCH 3/4] fix --- tiup/tiup-component-cluster-template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiup/tiup-component-cluster-template.md b/tiup/tiup-component-cluster-template.md index b71f884e30bbc..1f69f231c3582 100644 --- a/tiup/tiup-component-cluster-template.md +++ b/tiup/tiup-component-cluster-template.md @@ -30,8 +30,8 @@ If this option is not specified, the output default template contains the follow ### --local -- Outputs a simple topology template for local cluster which can used directly, parameter `global` can be modify by user needed. -- This template will create PD service, TiDB service, TiKV service, monitoring service and Grafana service. +- Outputs a simple topology template for the local cluster, which can be used directly, and the `global` parameter can be adjusted as needed. +- This template creates a PD service, a TiDB service, a TiKV service, a monitoring service, and a Grafana service. ### --multi-dc From 5a43ec5366bbc6965da030e255c0efff838de6b5 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Tue, 16 Jan 2024 17:05:13 +0800 Subject: [PATCH 4/4] tiup: delete an extra space --- tiup/tiup-component-cluster-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiup/tiup-component-cluster-template.md b/tiup/tiup-component-cluster-template.md index 1f69f231c3582..3fe0c7a1dc332 100644 --- a/tiup/tiup-component-cluster-template.md +++ b/tiup/tiup-component-cluster-template.md @@ -30,7 +30,7 @@ If this option is not specified, the output default template contains the follow ### --local -- Outputs a simple topology template for the local cluster, which can be used directly, and the `global` parameter can be adjusted as needed. +- Outputs a simple topology template for the local cluster, which can be used directly, and the `global` parameter can be adjusted as needed. - This template creates a PD service, a TiDB service, a TiKV service, a monitoring service, and a Grafana service. ### --multi-dc