Class EmptyDirVolumeSource (0.10.8)

EmptyDirVolumeSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).

Attributes

Name Description
medium google.cloud.run_v2.types.EmptyDirVolumeSource.Medium
The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional
size_limit str
Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

Classes

Medium

Medium(value)

The different types of medium supported for EmptyDir.