Skip to content

Cluster cleanup

Cesar Celis Hernandez edited this page Aug 3, 2023 · 1 revision

CleanUp:

k delete CatalogSource directpv-operator-catalog
k delete ClusterServiceVersion directpv-operator.v4.0.6
k delete InstallPlan --all
k delete Subscription --all
k edit crd   directpvcharts.charts.quay.io # remove finalizer
k delete crd directpvcharts.charts.quay.io
k delete crd directcsidrives.direct.csi.min.io
k delete crd directcsivolumes.direct.csi.min.io
k delete crd directpvinitrequests.directpv.min.io
k delete crd directpvnodes.directpv.min.io
k edit crd directpvdrives.directpv.min.io # remove finalizer
k delete crd directpvdrives.directpv.min.io
k edit crd directpvvolumes.directpv.min.io # remove finalizer
k delete crd directpvvolumes.directpv.min.io
dpcontext
operator-sdk olm uninstall
kubectl directpv uninstall
Clone this wiki locally