Share via


ObjectMetaV1.Namespace Property

Definition

Gets or sets the namespace of the Kubernetes resource.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The namespace serves as a mechanism to isolate and organize resources within a Kubernetes cluster. Each resource in a Kubernetes cluster can optionally belong to a namespace, which helps to group related resources together and manage their lifecycle independently. When not explicitly specified, resources may default to belonging to the "default" namespace.

Applies to