Share via


ProbeV1.SuccessThreshold Property

Definition

Gets or sets the minimum consecutive successes for the probe to be considered successful after it has previously failed.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The value of this property is used to determine how many successive successful probes are required to declare a previously failed resource as healthy again. This is typically applied in health or readiness probes within Kubernetes. A higher value indicates a stricter threshold for recovery.

Applies to