<p>I am install promethus-operator using helm v3.2.1 like this:</p>

<pre><code>./helm install stable/prometheus-operator --generate-name -n dabai-pro
</code></pre>

<p>now I want to move the component prometheus-operator from <code>dabai-pro</code> namespace to <code>monitoring</code> namespace and want to delete this installing, I read the docs and doing like this:</p>

<pre><code>[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall stable/prometheus-operator -n dabai-pro
Error: uninstall: Release name is invalid: stable/prometheus-operator
</code></pre>

<p>and like this :</p>

<pre><code>[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-operator -n dabai-pro
Error: uninstall: Release not loaded: prometheus-operator: release: not found
</code></pre>

<p>so what should I do to remove it?</p>

<pre><code>[miao@MeowK8SMaster1 linux-amd64]$ ./helm list -n dabai-pro
NAME                    NAMESPACE   REVISION    UPDATED                                 STATUS      CHART               APP VERSION
prometheus-1591246262   dabai-pro   1           2020-06-04 12:51:03.763613003 +0800 CST deployed    prometheus-11.3.0   2.18.1
redis-ha-1591192248     dabai-pro   1           2020-06-03 21:50:50.316917158 +0800 CST deployed    redis-ha-4.4.4      5.0.6
[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-1591246262
Error: uninstall: Release not loaded: prometheus-1591246262: release: not found
[miao@MeowK8SMaster1 linux-amd64]$ ./helm uninstall prometheus-11.3.0
Error: uninstall: Release not loaded: prometheus-11.3.0: release: not found
</code></pre>

<p>Use below command to view the release name and namespacename</p>

<pre><code>helm list 
</code></pre>

<p>And uninstall the release by </p>

<pre><code>helm uninstall releasename -n namespacename
</code></pre>

<p>In your case it will be</p>

<pre><code>./helm uninstall prometheus-1591246262 -n dabai-pro
</code></pre>
