PodSpecV1.RestartPolicy Property

Definition

Specifies the restart behavior for all containers within the pod. Determines when the containers should be restarted following termination. Common values include "Always", "OnFailure", and "Never".

[YamlDotNet.Serialization.YamlMember(Alias="restartPolicy")]
public string? RestartPolicy { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="restartPolicy")>]
member this.RestartPolicy : string with get, set
Public Property RestartPolicy As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to