operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

How do we uninstall OLM

Open nikhil-nomula opened this issue 1 year ago • 2 comments

Support

How do I go about uninstalling OLM?

Question

I installed OLM via after changing my context to the appropriate kubernetes cluster

curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh | bash -s v0.26.0

I expected to have an uninstall script so that I can uninstall OLM There is no documentation or a script that is responsible for uninstalling OLM

What did you see instead? Under which circumstances? I see documentation of uninstalling an operator here but there is no documentation for uninstalling OLM itself

Environment

  • operator-lifecycle-manager version: 0.26.0

  • Kubernetes version information:

GKE 1.24

  • Kubernetes cluster kind: GKE

nikhil-nomula avatar Dec 26 '23 20:12 nikhil-nomula

Is the only way to uninstall

`kubectl delete crd catalogsources.operators.coreos.com kubectl delete crd clusterserviceversions.operators.coreos.com kubectl delete crd installplans.operators.coreos.com kubectl delete crd olmconfigs.operators.coreos.com kubectl delete crd operatorconditions.operators.coreos.com kubectl delete crd operatorgroups.operators.coreos.com kubectl delete crd operators.operators.coreos.com kubectl delete crd subscriptions.operators.coreos.com

k delete namespace operators k delete namespace olm

k delete deployment packageserver k delete deployment catalog-operator k delete deployment olm-operator`

nikhil-nomula avatar Dec 26 '23 20:12 nikhil-nomula

There's an option to uninstall in the Makefile:

make uninstall

tmshort avatar Jan 03 '24 15:01 tmshort