简体   繁体   English

如何销毁OpenEBS集群?

[英]How to destroy OpenEBS cluster?

I have installed OpenEBS cluster with 0.5.4 version and playing with it. 我已经安装了具有0.5.4版本的OpenEBS集群并正在使用它。 Now I want to delete the cluster and want to deploy latest OpenEBS 0.6.0 version so I can test latest features like snapshot,node selector etc. So how to destroy my existing OpenEBS cluster? 现在,我想删除集群并部署最新的OpenEBS 0.6.0版本,以便测试快照,节点选择器等最新功能。那么如何销毁现有的OpenEBS集群?

Before deleting the OpenEBS please keep in mind to delete all PVC, PV, Deployments, SVC. 在删除OpenEBS之前,请记住删除所有PVC,PV,Deployments,SVC。 Then delete the storage class. 然后删除存储类。 Once they are cleared you can remove OenEBS using any of the bellow methods. 清除它们后,您可以使用以下任何一种方法来删除OenEBS。

  1. If you have installed through operator yaml 如果您已通过yaml操作员安装

    kubectl delete -f openebs-operator-x.yaml

  2. If you have installed through Helm 如果您已通过Helm安装

    helm install openebs-charts/openebs

  3. Else you can delete the namespace where OpenEBS has been installed. 否则,您可以删除已安装OpenEBS的名称空间。 By default OpenEBS gets installed in the openebs namespace. 默认情况下,OpenEBS被安装在openebs命名空间中。

    kubectl delete ns openebs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM