Use ephemeral storage for testing Splunk Enterprise

Use ephemeral storage for non-production Splunk Enterprise testing.

For testing and demonstration of Splunk Enterprise instances, you can use ephemeral storage instead of persistent storage. Use the ephemeralStorage field under the etcVolumeStorageConfig and varVolumeStorageConfig spec to mount local, ephemeral volumes for /opt/splunk/etc and /opt/splunk/var using the Kubernetes emptyDir feature.

For example:

CODE
apiVersion: enterprise.splunk.com/v4
kind: Standalone
metadata:
  name: example
  finalizers:
  - enterprise.splunk.com/delete-pvc
spec:
  etcVolumeStorageConfig:
    ephemeralStorage: true
  varVolumeStorageConfig:
    ephemeralStorage: true
Warning: The contents of these directories are automatically deleted whenever the pod is removed from a node for any reason. Do not use ephemeral storage for production environments.