Skip to content
Docs Try Aspire

LabelSelectorAttributesV1 Properties

Class Properties 2 members
Represents the attributes used for label selection in Kubernetes resources.
RawSelector Section titled RawSelector string
Gets or sets the raw string representation of a label selector. This property allows defining label selection criteria in a raw textual format, which can be used to match resources based on their label key-value pairs.
public string RawSelector { get; set; }
Represents the collection of label selector requirements associated with this object. Each requirement is a key-value pair that defines a rule for selecting Kubernetes resources based on their labels.
public List<LabelSelectorRequirementV1> Requirements { get; }