PodSpecV1.TerminationGracePeriodSeconds Property

Definition

Gets or sets the duration in seconds that is allowed for a pod to terminate after receiving a termination signal. This property defines the grace period before forcefully killing the pod's containers, allowing processes to shut down gracefully. If set to null, the system default termination grace period will be used.

[YamlDotNet.Serialization.YamlMember(Alias="terminationGracePeriodSeconds")]
public long? TerminationGracePeriodSeconds { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="terminationGracePeriodSeconds")>]
member this.TerminationGracePeriodSeconds : Nullable<int64> with get, set
Public Property TerminationGracePeriodSeconds As Nullable(Of Long)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to