You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Thai Le <ln...@gmail.com> on 2023/04/26 19:33:47 UTC
artemis operator: how to tell broker to use a specific PVC
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.
Here is the deploymentPlan section of my chart:
deploymentPlan:
size: {{ .Values.replicas }}
requireLogin: true
messageMigration: true
persistenceEnabled: true
podSecurityContext:
fsGroup: 0
storage:
size: {{ .Values.persistence.size }}
storageClassName: {{ .Values.persistence.storageClass }}
resources:
requests:
cpu: {{ .Values.resources.requests.cpu }}
memory: {{ .Values.resources.requests.memory }}
Thai Le
Re: artemis operator: how to tell broker to use a specific PVC
Posted by Domenico Francesco Bruscino <br...@gmail.com>.
Hi Thai,
this question seems related to the ArtemisCloud project, you can create a
new discussion at
https://github.com/artemiscloud/activemq-artemis-operator/discussions.
Regards,
Domenico
On Wed, 26 Apr 2023 at 21:34, Thai Le <ln...@gmail.com> wrote:
> 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.
> Here is the deploymentPlan section of my chart:
>
> deploymentPlan:
> size: {{ .Values.replicas }}
> requireLogin: true
> messageMigration: true
> persistenceEnabled: true
> podSecurityContext:
> fsGroup: 0
> storage:
> size: {{ .Values.persistence.size }}
> storageClassName: {{ .Values.persistence.storageClass }}
> resources:
> requests:
> cpu: {{ .Values.resources.requests.cpu }}
> memory: {{ .Values.resources.requests.memory }}
>
> Thai Le
>