EmptyDirVolumeSourceV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class EmptyDirVolumeSourceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type EmptyDirVolumeSourceV1 = class
Public NotInheritable Class EmptyDirVolumeSourceV1
- Inheritance
-
EmptyDirVolumeSourceV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Constructors
EmptyDirVolumeSourceV1() |
Properties
Medium |
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. |
SizeLimit |
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. |