PodSpecV1.HostPid Property

Definition

Specifies whether the pod should use the host's process ID (PID) namespace. When set to true, processes in the pod will share the host's PID namespace, allowing visibility and interaction with processes on the host. This can be useful for certain debugging or monitoring scenarios, but may pose a security risk. Use with caution in multi-tenant clusters or environments.

[YamlDotNet.Serialization.YamlMember(Alias="hostPID")]
public bool? HostPid { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="hostPID")>]
member this.HostPid : Nullable<bool> with get, set
Public Property HostPid As Nullable(Of Boolean)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to