LocalVolumeSourceV1 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 a local volume source in Kubernetes. This type is used to configure a PersistentVolume that is backed by local storage.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class LocalVolumeSourceV1
[<YamlDotNet.Serialization.YamlSerializable>]
type LocalVolumeSourceV1 = class
Public NotInheritable Class LocalVolumeSourceV1
- Inheritance
-
LocalVolumeSourceV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
Local storage can only be used as a PersistentVolume when the nodeAffinity is also set. The local volume does not support all Kubernetes volume features, such as dynamic provisioning. Local volumes can be beneficial for applications that require high-performance storage and do not require replication.
Constructors
LocalVolumeSourceV1() |
Properties
FsType |
Gets or sets the filesystem type to be mounted. Examples of valid values include "ext4", "xfs", "ntfs", among others. If not specified, the default filesystem type for the operating system will be used. |
Path |
Gets or sets the path to the local volume on the host. This value is required and should specify the file system or directory to be used by the volume. |