Share via


LifecycleV1.PostStart Property

Definition

Represents the post-start lifecycle event handler in a Kubernetes Pod.

[YamlDotNet.Serialization.YamlMember(Alias="postStart")]
public Aspire.Hosting.Kubernetes.Resources.LifecycleHandlerV1 PostStart { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="postStart")>]
member this.PostStart : Aspire.Hosting.Kubernetes.Resources.LifecycleHandlerV1 with get, set
Public Property PostStart As LifecycleHandlerV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The PostStart property defines actions to be executed immediately after a container is started. Actions can include executing a custom command, performing an HTTP GET request, establishing a TCP connection, or introducing a sleep duration before additional operations. It is used to customize and control the behavior of a container upon startup.

Applies to