<p>I have installed <a href="https://www.katacoda.com/courses/kubernetes/helm-package-manager" rel="noreferrer"><code>redis</code></a>. The default given name to me is <code>plinking-narwhal</code>. Now I would like to install a service with my assigned name. But first I want to remove the existing one. I had tried deleting them without success.</p>

<pre class="lang-sh prettyprint-override"><code>$ kubectl get all
NAME                                               READY     STATUS    RESTARTS   AGE
pod/plinking-narwhal-redis-master-0                1/1       Running   0          12m
pod/plinking-narwhal-redis-slave-9b645b597-2vh82   1/1       Running   7          12m

NAME                                    TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
service/kubernetes                      ClusterIP   10.96.0.1        &lt;none&gt;        443/TCP    15m
service/plinking-narwhal-redis-master   ClusterIP   10.109.186.189   &lt;none&gt;        6379/TCP   12m
service/plinking-narwhal-redis-slave    ClusterIP   10.99.122.12     &lt;none&gt;        6379/TCP   12m

NAME                                           DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/plinking-narwhal-redis-slave   1         1         1            1           12m

NAME                                                     DESIRED   CURRENT   READY     AGE
replicaset.apps/plinking-narwhal-redis-slave-9b645b597   1         1         1         12m

NAME                                             DESIRED   CURRENT   AGE
statefulset.apps/plinking-narwhal-redis-master   1         1         12m
master $ helm delete stable/redis
Error: invalid release name, must match regex ^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])+$ and the length must not longer than 53
master $ helm delete --name plinking-narwhal stable/redis
Error: unknown flag: --name
</code></pre>

<p>You probably need:</p>

<pre><code>$ helm delete redis
</code></pre>

<p>or if you completely want to remove the release:</p>

<pre><code>$ helm delete redis --purge
</code></pre>

<p><code>stable/redis</code> is not allowed as an expression because of the slash(<code>/</code>)</p>

<p>If you'd like to see the name of the releases you can simply run:</p>

<pre><code>$ helm list -aq
</code></pre>
