Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

LocalVolumeSourceV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a local volume source in Kubernetes. This type is used to configure a PersistentVolume that is backed by local storage.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class LocalVolumeSourceV1
{
// ...
}
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.
View all constructors
View all properties