当前位置:网站首页>tiup cluster template
tiup cluster template
2022-08-09 22:09:00 【添香小铺】
部署集群之前,需要准备一份集群的拓扑文件。TiUP 内置了拓扑文件的模版,用户可以通过修改该模版来生成最终的拓扑文件。使用 tiup cluster template 命令可以输出 TiUP 内置的模版内容。
语法
tiup cluster template [flags]
如果不指定该选项,输出的默认模版包含以下实例:
- 3 个 PD 实例
- 3 个 TiKV 实例
- 1 个 TiDB 实例
- 1 个 Prometheus 实例
- 1 个 Grafana 实例
- 1 个 Alertmanager 实例
选项
--full
- 输出详细的拓扑模版,该模版会以注释的形式带上可配置的参数。在命令中添加该选项,可开启该选项。
- 如果不指定该选项,默认输出最简单的拓扑模版。
--multi-dc
- 输出多数据中心的拓扑模版。在命令中添加该选项,可开启该选项。
- 如果不指定该选项,默认输出单地单机房的拓扑模版。
-h, --help
输出帮助信息。
输出
根据指定选项输出拓扑模版,可重定向到拓扑文件中用于部署。
边栏推荐
- leetcode 39. 组合总和(完全背包问题)
- How to insist to use procedural system?
- leetcode brush questions diary Calculate the number of elements on the right that is less than the current element
- DXF笔记:文字对齐的研究
- HUAWEI CLOUD escorts the whole process of "Wandering Ark" for the first time, creating a popular brand
- “我“是一名测试/开发程序员,小孙的内心独白......
- Core Data浅谈系列之五 : 在UITableView中展示
- 17-GuliMall 搭建虚拟域名访问环境
- Linux 配置MySQL
- 关于ETL的两种架构(ETL架构和ELT架构)
猜你喜欢
随机推荐
kubesphere
leetcode:320.列举单词的全部缩写
Sun Zhengyi lost 150 billion: it was expensive at the beginning
五分钟商学院(基础---商业篇)
守护进程
【Burning】It's time to show your true strength!Understand the technical highlights of the 2022 Huawei Developer Competition in one article
k8s部署mysql
Install win7 virtual machine in Vmware and related simple knowledge
迁移学习 & 凯明初始化
leetcode:321. 拼接最大数
B. Neighbor Grid
华为云全流程护航《流浪方舟》破竹首发,打造口碑爆款
毕昇编译器优化:Lazy Code Motion
生成NC文件时,报错“未定义机床”
CV review: softmax code implementation
mysql 、pg 查询日期处理
OFDM 十六讲 7 - Inter-Symbol-Interference
Postgresql源码(68)virtualxid锁的原理和应用场景
干涉BGP的选路---社团属性
【对象——对象及原型链上的属性——对象的操作方法】









