Skip to main content
Version: 5.17

Configure Management Center persistence

By default, Management Center persists metrics to a persistent volume. You can turn this off by disabling persistence.

Management Center collects and report metrics data for connected Hazelcast clusters. See Monitoring for more information.

Configure Management Center persistence​

Operator supports the following configuration for Management Center persistence.

FieldDescription
persistence.enabledWhen true, Management Center will use a Persistent Volume Claim (PVC) to store data.
persistence.sizeSize of the PVC.
persistence.existingVolumeClaimName

Name of an existing PVC to use. If left blank, Management Center will request a new PVC.

By default, Management Center data is persisted to the /data directory. If you want to use an existing PVC, set its name here.

persistence.storageClassStorage class for the PVC.
warning

StatefulSet does not support updates to the volumeClaimTemplates field, so the persistence field should be set only at the creation of the custom resource. Any update to the persistence field will not affect Management Center.

Example configuration​

The following example configuration assigns a Kubernetes Persistent Volume with a size of 10GiB:

Example Management Center with Persistence Configuration
yaml
apiVersion: hazelcast.com/v1alpha1
kind: ManagementCenter
metadata:
name: managementcenter
spec:
repository: "hazelcast/management-center"
licenseKeySecretName: hazelcast-license-key
hazelcastClusters:
- address: hazelcast
name: dev
persistence:
enabled: true
size: 10Gi