Share via


StatefulSetSpecV1.VolumeClaimTemplates Property

Definition

Gets the list of PersistentVolumeClaim templates used to provision volumes for the StatefulSet.

[YamlDotNet.Serialization.YamlMember(Alias="volumeClaimTemplates")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PersistentVolumeClaim> VolumeClaimTemplates { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="volumeClaimTemplates")>]
member this.VolumeClaimTemplates : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.PersistentVolumeClaim>
Public ReadOnly Property VolumeClaimTemplates As List(Of PersistentVolumeClaim)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

VolumeClaimTemplates define the specifications for persistent volume claims needed by each pod in the StatefulSet. Each template is used to create a separate PersistentVolumeClaim for every replica managed by the StatefulSet. The number of claims is determined by the number of replicas defined in the StatefulSet.

Applies to