Event Storage#

Events and Alerts in Aspen Mesh are stored in the aspen-mesh-event-storage StatefulSet object, which is a Cassandra database. This database defaults to three pods with 10GiB of storage, but can be scaled up if needed. Approximately 100,000 events and alerts in an 8-day retention period can be stored, using the default values. To scale up the cluster size or persistence size, use the following steps:

  1. Edit the values-aspenmesh.yaml file found in release/manifests/charts/istio-control/istio-discovery that you used to install Aspen Mesh.

  2. Under aspen-mesh-event-storage: section change the following to suit your needs:

    persistence:
      # size of the persistent volume storage. Default value: 10Gi
      size: 10Gi
    config:
      # pod number. Default value: 3
      cluster_size: 3
      # Recommended max heap size is 1/2 of system memory. Default value: 2048M
      max_heap_size: 2048M
      # Recommended heap new size is 1/4 of max heap size. Default value: 512M
      heap_new_size: 512M