Skip to content
DocsTry Aspire
DocsTry

BaseKubernetesResource Properties

ClassProperties1 member
Serves as the foundational class for defining Kubernetes resources in the v1 API version.
Gets or sets the metadata for the Kubernetes resource.
public ObjectMetaV1 Metadata { get; set; }
The metadata contains standard information such as the resource’s name, namespace, labels, annotations, and other Kubernetes-specific properties. It is encapsulated in an ObjectMetaV1 object, which provides properties for managing the resource’s unique identifier (UID), name, namespace, generation, and other relevant details like annotations, labels, and owner references.