<p>I was following <a href="https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html" rel="nofollow noreferrer">rabbitmq kubernetes operator documentation</a> to create rabbitmq cluster.</p>
<p>As instructed in documentation if pods stay long in pending state, we need to execute following 2 command to install <a href="https://github.com/rancher/local-path-provisioner" rel="nofollow noreferrer">Local Path Provisioner</a></p>
<pre><code>kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
kubectl annotate storageclass local-path storageclass.kubernetes.io/is-default-class=true
</code></pre>
<p>So now I am getting following error with local path as I have 2 storage class as default (other being &quot;standard&quot; provided by minikube).</p>
<pre><code>Internal error occurred: 2 default StorageClasses were found
</code></pre>
<p>How do I fix this? Seems there is open defect for this at Kubernetes. So how do I do workaround to this issue to proceed further? I am running kubernetes in minikube.</p>
<pre><code>https://github.com/kubernetes/kubernetes/issues/34549
</code></pre>

Anonymous Creator
<p>I think you can just delete one of the storage class.</p>
<pre><code> kubectl get storageclass
 # then choose the one you want to delete
 kubectl delete storageclass/&lt;classname&gt;
</code></pre>
<p>then restart your rabbitmq operator.</p>
