Watch Aspire live streamsDocsTry Aspire

PodAffinityTermV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a term used to define pod affinity/anti-affinity requirements in Kubernetes. The PodAffinityTermV1 specifies conditions such as label selectors, namespace selectors, and topology keys that determine the placement of pods in relation to other pods in a cluster.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PodAffinityTermV1
{
// ...
}
View all constructors
View all properties