BaseKubernetesObject Properties
Class Properties 2 members
Represents the base class for Kubernetes objects, providing common properties shared across Kubernetes resources.
Gets or sets the API version for the Kubernetes resource.
public string? ApiVersion { get; set; }Remarks
The API version defines the versioned schema that is used for the resource. It determines the APIs required to interact with the resource and ensures compatibility between the resource and Kubernetes components. The value is specified according to the Kubernetes API versioning scheme (e.g., "v1", "apps/v1").
Gets or sets the kind of the Kubernetes resource.
public string? Kind { get; set; }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.