From f9d3ddb3fc59c74be63258d4b4571532f7858a59 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 d1ec0e8235bc51b9158e3c0beda9119ca6da280c 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 f7559cdd027cfa32205a82f9c141db4522ef9908 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 e63bd7947d50019847da2562475aed5e7ba4cba8 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