PodSpecV1.InitContainers Property

Definition

Represents a collection of initialization containers that run before the main containers in the pod are started. These containers are executed sequentially and must complete successfully before any normal containers are started. Initialization containers can perform setup tasks, such as loading configuration files or initializing data stores, required by the primary application containers.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to