如何删除已创建的 Cluster List

一共创建了3个 Cluster name,想删除 cluster list, 应该怎么操作。

±-------------------------------------------------+

| Cluster List |

±-----±------------------------±----------------+

| Name | Configuration Path | Status (Cached) |

±-----±------------------------±----------------+

| lo | /root/.obd/cluster/lo | configured |

| test | /root/.obd/cluster/test | deployed |

±-----±------------------------±----------------+

尝试了使用tenant drop test后,还是存在 CLUster list

[root@z-test-4 cluster]# obd cluster tenant drop test

Deploy “test” is deployed

±-------------------------------------------------+

| Cluster List |

±-----±------------------------±----------------+

| Name | Configuration Path | Status (Cached) |

±-----±------------------------±----------------+

| lo | /root/.obd/cluster/lo | configured |

| test | /root/.obd/cluster/test | deployed |

±-----±------------------------±----------------+

cd ~/.obd/cluster

然后删除掉已经是destroyed 状态的



1 个赞

谢谢!

直接rm会有隐患吗

前排

没有影响,因为如1楼红色的说明,集群状态是已经被销毁了的。