title: RabbitMQ cluster-operator does not work in Kubernetes
body: <p>RabbitMQ cluster operator does not work in Kubernetes.<br />
  I have a kubernetes cluster 1.17.17 of 3 nodes. I deployed it with a rancher.
  According to this instruction I installed RabbitMQ cluster-operator:
  <a href="https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html" rel="nofollow noreferrer">https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html</a><br />
  <code>kubectl apply -f &quot;https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml&quot;</code><br />
  Its ok! but..
  I have created this very simple configuration for the instance according to the documentation:</p>
  <pre><code>apiVersion: rabbitmq.com/v1beta1
  kind: RabbitmqCluster
  metadata:
    name: rabbitmq
    namespace: test-rabbitmq
  </code></pre>
  <p>I have error:error while running &quot;VolumeBinding&quot; filter plugin for pod &quot;rabbitmq-server-0&quot;: pod has unbound immediate PersistentVolumeClaims</p>
  <p>after that i checked:<br />
  <code>kubectl get storageclasses</code><br />
  and saw that there were no resources! I added the following storegeclasses:</p>
  <pre><code>kind: StorageClass
  apiVersion: storage.k8s.io/v1
  metadata:
    name: local-storage
  provisioner: kubernetes.io/no-provisioner
  volumeBindingMode: WaitForFirstConsumer
  </code></pre>
  <p>create pv and pvc:</p>
  <pre><code>kind: PersistentVolume
  apiVersion: v1
  metadata:
    name: rabbitmq-data-sigma
    labels:
      type: local
    namespace: test-rabbitmq
    annotations:
      volume.alpha.kubernetes.io/storage-class: rabbitmq-data-sigma
  spec:
    storageClassName: local-storage
    capacity:
      storage: 3Gi
    accessModes:
      - ReadWriteMany
    persistentVolumeReclaimPolicy: Recycle
    hostPath:
      path: &quot;/opt/rabbitmq-data-sigma&quot;
  ---
  kind: PersistentVolumeClaim
  apiVersion: v1
  metadata:
    name: rabbitmq-data
    namespace: test-rabbitmq
  spec:
    storageClassName: local-storage
    accessModes:
      - ReadWriteMany
    resources:
      requests:
        storage: 3Gi
  </code></pre>
  <p>I end up getting an error in the volume - which is being generated automated:
  <a href="https://i.stack.imgur.com/MhUST.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MhUST.png" alt="enter image description here" /></a></p>
  <pre><code>FailedBinding   no persistent volumes available for this claim and no storage class is set  
  </code></pre>
  <p>please help to understand this problem!</p>