Skip to content
Docs Try Aspire

SessionAffinityConfigV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents the configuration for session affinity in a Kubernetes Service resource.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class SessionAffinityConfigV1
{
// ...
}
This class is used to define session affinity configurations for Kubernetes services, specifically to manage how traffic is directed to service endpoints based on session affinity settings.