English | 中文
- Delete helm release
$ helm uninstall fabedge -n fabedge
- Delete other resources
$ kubectl -n fabedge delete cm --all
$ kubectl -n fabedge delete pods --all
$ kubectl -n fabedge delete secret --all
$ kubectl -n fabedge delete job.batch --all
- Delete namespace
$ kubectl delete namespace fabedge
- Delete all FabeEdge configuration file from all edge nodes
$ rm -f /etc/cni/net.d/fabedge.*
- Delete all fabedge images on all nodes
$ docker images | grep fabedge | awk '{print $3}' | xargs -I{} docker rmi {}
- Delete CustomResourceDefinition
$ kubectl delete CustomResourceDefinition "clusters.fabedge.io"
$ kubectl delete CustomResourceDefinition "communities.fabedge.io"
$ kubectl delete ClusterRole "fabedge-operator"
$ kubectl delete ClusterRoleBinding "fabedge-operator"