BaseKubernetesObject.Kind Property

Definition

Gets or sets the kind of the Kubernetes resource.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The "kind" property specifies the type of the Kubernetes resource, such as Pod, Deployment, Service, etc. It serves as a key component in the Kubernetes API schema to identify the type of object being described. This value is defined by Kubernetes and must match the object's API definition.

Applies to