Skip to content
Docs Try Aspire

EmptyDirVolumeSourceV1 Properties

Class Properties 2 members
Represents an EmptyDir volume source in Kubernetes, which is an ephemeral volume that is initially empty and then acts as a shared storage space for the containers that are associated with a particular pod. The data in the EmptyDir volume is lost when the pod is removed from a node.
Medium Section titled Medium nullable string?
Gets or sets the storage medium to be used for the empty directory volume. Possible values include "Memory" to use memory backed storage. If not specified, the default behavior is to use the node's default storage medium.
public string? Medium { get; set; }
SizeLimit Section titled SizeLimit nullable string?
Gets or sets the size limit for the volume. This specifies the maximum amount of storage space allowed for the volume. The size must be specified in a valid Kubernetes resource quantity format (e.g., "10Gi", "500Mi"). If no value is specified, the volume will have no size limit and will use available node storage.
public string? SizeLimit { get; set; }