Configure storage

StackState Self-hosted v4.5.x

This page describes StackState v4.5.x. The StackState 4.5 version range is End of Life (EOL) and no longer supported. We encourage customers still running the 4.5 version range to upgrade to a more recent release.

Go to the documentation for the latest StackState release.

Storage defaults

StackState doesn't specify a specific storage class on its PVC's (persistent volume claims) by default, for cloud providers like EKS and AKS this means the default storage class will be used.

The defaults for those storage classes are typically to delete the PV (persistent volume) when the PVC is deleted. Note that even when running helm delete to remove a stackstate release the PVC's will remain present within the namespace and will be reused if a helm install is run in the same namespace with the same release name.

To remove the PVC's either remove them manually with kubectl delete pvc or delete the entire namespace.

Customize storage

You can customize the storageClass and size settings for different volumes in the Helm chart. The example values.yaml files provided in the GitHub Helm chart repo show how you can customize the size of volumes. The storageClass can be added in a similar fashion.

In the example below, all services that store data are switched to rely on the storageClass named standard and not use the default storageClass configured for the Kubernetes cluster:

    storageClassName: "standard"
            # size of volume for each Elasticsearch pod
            storage: 250Gi

        storageClass: "standard"
        # size of volume for HDFS data nodes
        size: 250Gi

        storageClass: "standard"
        # size of volume for HDFS name nodes
        size: 20Gi

    storageClass: "standard"
    # size of persistent volume for each Kafka pod
    size: 50Gi

    storageClass: "standard"
    # size of persistent volume for each Zookeeper pod
    size: 50Gi

Last updated