StatefulSetSpecV1.VolumeClaimTemplates Property
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.
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.