This is a prerelease version.

View latest

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.

Field Description

persistence.enabled

When true, Management Center will use a Persistent Volume Claim (PVC) to store data.

persistence.size

Size 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.storageClass

Storage class for the PVC.

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
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