Storage requirements

  • 5-min read

This guide describes how the different storage volumes are used by Dynatrace Operator.

Overview

The following table shows the storage requirements of Dynatrace Operator deployment modes.

CSI driver volumes

The kubelet root directory is the central storage location for all directories required by the CSI driver. Allocate approximately 30 GB for the kubelet directory to cover all Dynatrace-related storage requirements.

These numbers should be increased for volatile environments and can be decreased for environments with disk space monitoring.

Host volumes

Depending on your setup, the kubelet root directory might not be located in /var/lib/kubelet.

Plugin directory disk usage

Contains the CSI driver components and enables kubelet to interact with the driver for operations like health checks.

Storage usage depends on your environment:

  • Number of pods on the node
  • Number of different code module versions
  • Number of DynaKubes

If OneAgent is monitoring the host additional storage is consumed.

ComponentDisk usageNotes
OneAgent5 GBEssential for OneAgent functionality.
Code Modulessee table below 1
Runtime logs0.1-1 GB per podLogs and data generated at runtime.
Configuration20 MB per pod
1

Disk usage per version is depending on the architecture. Without CSI driver the listed amount of storage is consumed per pod.

ArchitectureDisk usage
amd641.2 GB
arm64800 MB
s390x500 MB
ppc64le500 MB

Extension Execution Controller volumes

Allows the Extension Execution Controller to store configuration, runtime data, logs, and secrets required for executing extensions.

SQL Extension Executor volumes

Allows the SQL Extension Executor to store temporary files (for example, certificates).

OneAgent volumes

Allows the OneAgent to persist its configuration.

1

Configurable using storageHostPath field in the Dynakube. See Dynakube parameters for more information.

Application pod volumes

These directories are specific to Dynatrace. They are injected into workloads by the Webhook and don't require user management or configuration.

1

Same disk usage as described in plugin directory disk usage. You can save storage by configuring the node image pull feature.

2

More details about the format of <size> can be found in the Kubernetes documentation.

Ephemeral volumes

Overview of the volume size limits for ephemeral volumes of the Dynatrace Operator components and which Helm switches can be used to configure them.

Ephemeral volume size limits

ComponentContainer(s)Volume nameMount pointHelm valueSize limit default
dynatrace-webhookwebhookcerts-dir/tmp/k8s-webhook-server/serving-certswebhook.volumes.certsDir.sizeLimit10 Mi

Ephemeral storage limits

There are no default values for ephemeral storage resource configuration. They can be configured using the Helm switches shown in the following table:

The Helm switches can be used in a custom values.yaml file to control the limits during Operator install with the Helm chart.