Uninstall the Pulsar Operators
You can uninstall the Pulsar Operators when you no longer need it. This document demonstrates how to uninstall the Pulsar Operators.
Prerequisites
- You have installed the Pulsar Operators using the Helm chart or OLM.
- Install Helm (v3.0.2 or above).
Uninstall Pulsar
Skip this section if Pulsar is not installed.
If you already have deployed Pulsar with the Pulsar Operators, you need to uninstall Pulsar first.
-
Run the following command to uninstall Pulsar if you installed it with proxies.
-
Run the following command to uninstall Pulsar if you installed it without proxies.
Uninstall the Pulsar Operators deployed using the Helm chart
-
Run the following command to uninstall the Pulsar Operators. You can use the
helm list -n <k8s-namespace>
command to find the release you want to delete. -
Delete the Custom Resource Definitions (CRDs) of Pulsar. Helm does not uninstall CRDs when you run the
helm delete
command. Therefore, you need to manually remove them.
Uninstall the Pulsar Operators deployed using the OLM
-
Delete the Subscriptions created by the OLM. Subscriptions are used to subscribe to the latest version of an operator. By deleting the Subscriptions associated with the Pulsar Operators, you let the OLM know that you no longer want new versions of the Pulsar Operators to be installed.
-
Delete the ClusterServiceVersions (CSVs) of the Pulsar Operators. You can run the
kubectl get csv -n operators
command to view the versions. -
Delete the CRDs of Pulsar.