How to run a RabbitmqCluster using Rabbitmq operator and csi-hostpath-driver? #7793
Unanswered
jalvespinto
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am unsuccessfully trying to test bitnami rabbitmq-cluster-operator using minikube with "csi-hostpath-driver" addon. The reason I am using the addon is because the default host-path volume provisioner doesn’t support multi-node clusters. My guess is that I have to include some parameters/annotations to the
csi-hostpath-sc
storageclass, but I am not sure and don't know what it would be.minikube version:
W0331 13:44:08.650859 295823 main.go:291] Unable to resolve the current Docker CLI context "default": context "default" does not exist
minikube version: v1.29.0
commit: ddac20b4b34a9c8c857fc602203b6ba2679794d3
docker --version:
Docker version 23.0.2, build 569dd73
kubectl version --short:
Client Version: v1.26.3
Kustomize Version: v4.5.7
Server Version: v1.25.8
minikube start args (for now without multi-nodes):
"--kubernetes-version=v1.25.8",
"--driver=kvm2",
"--cpus=6",
"--memory=8064",
"--disk-size=50g",
"--addons=ingress",
"--addons=volumesnapshots",
"--addons=csi-hostpath-driver"
The addon automatically creates a storageClass named csi-hostpath-sc that I am trying to use as the
StorageClassName
on theRabbitmqCluster
:The operator runs fine. Now, for the
RabbitmqCluster
manifest, if I don't declare apersistence.storageClassName
it will use the default hostpath provisioner and will run successfully. But if I use thecsi-hostpath-driver
storageclass it wont't.kubectl describe pv pvc-8828a7ff-fe32-4052-8edd-edb717e6f6dc -n rabbitmq:
kubectl describe pvc persistence-rabbitmq-cluster-server-0 -n rabbitmq:
Here I have no idea why it says the capacity of volume is greater than actual storage.
kubectl describe node minikube:
Finally, these are the events for kubectl describe po rabbitmq-cluster-server-0 -n rabbitmq:
Beta Was this translation helpful? Give feedback.
All reactions