Add hostpath volume to RabbitMQ RabbitmqCluster
#971
-
I want to persist a path on Kubernetes worker. In regular Kubernetes deployment, I can add a volume like this:
how can I add |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
hostPath
should only be used for testing purposes (see for example https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume. Therefore, I don't think exposing this brings much value. If you really need it, you should be able to achieve it with overrides (https://www.rabbitmq.com/kubernetes/operator/using-operator.html#override).