EmptyDirVolumeSourceV1
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class EmptyDirVolumeSourceV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesMediumget; setstring? 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.
SizeLimitget; setstring? 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.