artemis operator: how to tell broker to use a specific PVC #577
-
Hello, We have an artemis broker 2.19 running in kubernetes in stand alone mode, this broker uses a persistent volume claim named "data" and mounted to /var/lib/artemis/data. Now that we are moving to artemis operator, we want to mount this PVC to the new broker deployed by the operator. How can we do that? The ActiveMqArtemis CRD only has storage size and storageClassName. deploymentPlan: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The safest way to transfer data is to export and import your data using artemis cli, i.e. |
Beta Was this translation helpful? Give feedback.
-
Thank you, i'll try the cli |
Beta Was this translation helpful? Give feedback.
The safest way to transfer data is to export and import your data using artemis cli, i.e.
artemis data exp
. If it doesn't work for you could create an issue to extend the ExtraMounts feature to support persistent volumes too.