GoogleCloudRunV2EmptyDirVolumeSourceArgs

data class GoogleCloudRunV2EmptyDirVolumeSourceArgs(val medium: Output<GoogleCloudRunV2EmptyDirVolumeSourceMedium>? = null, val sizeLimit: Output<String>? = null) : ConvertibleToJava<GoogleCloudRunV2EmptyDirVolumeSourceArgs>

Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. 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).

Constructors

Link copied to clipboard
fun GoogleCloudRunV2EmptyDirVolumeSourceArgs(medium: Output<GoogleCloudRunV2EmptyDirVolumeSourceMedium>? = null, sizeLimit: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRunV2EmptyDirVolumeSourceArgs

Properties

Link copied to clipboard

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

Link copied to clipboard
val sizeLimit: Output<String>? = null

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 in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +optional