当前位置:网站首页>tiup cluster stop
tiup cluster stop
2022-08-09 22:09:00 【添香小铺】
命令 tiup cluster stop
用于停止指定集群的所有服务或部分服务。
注意
核心服务停止后集群将无法提供服务。
语法
tiup cluster stop <cluster-name> [flags]
<cluster-name>
为要操作的集群名字,如果忘记集群名字可通过集群列表查看。
选项
-N, --node(strings,默认为 [],表示所有节点)
指定要停止的节点,不指定则表示所有节点。该选项的值为以逗号分割的节点 ID 列表,节点 ID 为集群状态表格的第一列。
注意
若同时指定了 -R, --role
,那么将停止它们的交集中的服务。
-R, --role(strings,默认为 [],表示所有角色)
指定要停止的角色,不指定则表示所有角色。该选项的值为以逗号分割的节点角色列表,角色为集群状态表格的第二列。
注意
若同时指定了 -N, --node
,那么将停止它们的交集中的服务。
-h, --help
- 输出帮助信息。
- 数据类型:
BOOLEAN
- 该选项默认关闭,默认值为
false
。在命令中添加该选项,并传入true
值或不传值,均可开启此功能。
输出
停止服务的日志。
边栏推荐
猜你喜欢
华为鸿蒙3.0的野望:技术、应用、生态
Redis集群
iNFTnews | 迪士尼如何布局Web3
CV review: softmax code implementation
YGG 经理人杯总决赛已圆满结束,来看看这份文字版总结!
注意力引导网络用于视网膜图像分割
Sun Zhengyi lost 150 billion: it was expensive at the beginning
Bi Sheng Compiler Optimization: Lazy Code Motion
leetcode brush questions diary Calculate the number of elements on the right that is less than the current element
DXF笔记:文字对齐的研究
随机推荐
kubesphere
打包报错 AAPT: error: failed to read PNG signature: file does not start with PNG signature.
How to insist to use procedural system?
杂谈——程序员的悲哀
D. Binary String To Subsequences
Interfering with BGP routing---community attributes
反射机制篇
【服务器数据恢复】SAN LUN映射出错导致文件系统数据丢失的数据恢复案例
C. Binary String Reconstruction
LeetCode_2632_字符串压缩
杭电多校-Counting Stickmen-(思维+组合数+容斥)
Leetcode 98. 验证二叉搜索树
Redis
友元类和友元函数
Install win7 virtual machine in Vmware and related simple knowledge
CV复习:softmax代码实现
Basic operations of xlrd and xlsxwriter
VR全景结合小程序,为线上电商更好的服务
Pytorch分布式训练/多卡训练DDP——模型初始化(torch.distribute 与 DDP的区别)
安踏携手华为运动健康共同验证冠军跑鞋 创新引领中国体育