Dedicated storage instead of shared storage

Use dedicated storage instead of shared storage for your analytics data.

API Connect provides two OpenSearch storage types:
  • Shared storage

    A single pod provides data storage and OpenSearch cluster management. Shared storage is the default option, and the only option on a one replica deployment.

  • Dedicated storage
    OpenSearch data storage and cluster management functions are split, and run in separate pods on each worker node:
    • storage-os-master - Runs an OpenSearch manager eligible node that manages the OpenSearch cluster, but does not store any API event data.
    • storage - Runs an OpenSearch data node that stores API event data.
Dedicated storage facilitates horizontal scaling to support greater analytics data storage and throughput. Add worker nodes and increase the number of storage pod replicas in order to scale horizontally (you do not need to increase the number of storage-os-master replicas). Dedicated storage also provides greater stability and allows some OpenSearch configuration changes to be made without downtime.
The storage type is defined in the analytics CR, in the spec.storage.type section as follows:
  • Shared storage:
      storage:
        type: shared
        shared:
          volumeClaimTemplate:
            storageClassName: $STORAGE_CLASS
            volumeSize: $DATA_VOLUME_SIZE
  • Dedicated storage:
      storage:
        type: dedicated
        shared:
          volumeClaimTemplate:
            storageClassName: $STORAGE_CLASS
            volumeSize: $DATA_VOLUME_SIZE
        master:
          volumeClaimTemplate:
            storageClassName: $STORAGE_CLASS