Persistence
The Artemis Cloud operator enables persistence by default. This can be set explicitly in the custom resource (CR) using the spec.deploymentPlan.persistenceEnabled
property as shown in the following example:
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
name: artemis-broker
spec:
...
deploymentPlan:
persistenceEnabled: true
This enables default file journaling in the container. The operator creates a PersistentVolumeClaim (PVC). Depending upon your Kubernetes setup, this also provisions a PersistentVolume (PV).
For more information about persistence, see the discussion about persistence in the ActiveMQ documentation at the ActiveMQ website. For more information about mounting PVs, see the discussion about configuring additional volumes for the broker in Artemis Cloud documentation.