Share via


ProbeV1.FailureThreshold Property

Definition

Gets or sets the failure threshold for the probe.

[YamlDotNet.Serialization.YamlMember(Alias="failureThreshold")]
public int? FailureThreshold { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="failureThreshold")>]
member this.FailureThreshold : Nullable<int> with get, set
Public Property FailureThreshold As Nullable(Of Integer)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The failure threshold specifies the number of consecutive probe failures that are allowed before the container is considered unhealthy. This value is used to determine when to take action based on the probe's outcome, such as restarting the container or marking it as failed.

Applies to