Share via


EphemeralContainerV1.LivenessProbe Property

Definition

Represents the liveness probe configuration for a container. The liveness probe is used by the Kubernetes system to determine if the container is still running. If the liveness probe fails, the container will be restarted. This property defines the specifics of how the liveness check is performed, such as command execution, GRPC actions, or configuration thresholds.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to