PodAffinityTermV1.NamespaceSelector Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the namespace selector used to identify namespaces to which the label selector applies. This property specifies a label-based filter that restricts the namespaces considered by the associated label selector.
[YamlDotNet.Serialization.YamlMember(Alias="namespaceSelector")]
public Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1 NamespaceSelector { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="namespaceSelector")>]
member this.NamespaceSelector : Aspire.Hosting.Kubernetes.Resources.LabelSelectorV1 with get, set
Public Property NamespaceSelector As LabelSelectorV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The namespace selector is utilized to dynamically select namespaces based on their labels, allowing for more flexible and dynamic configurations. It operates in conjunction with label selectors to refine Kubernetes resource targeting.