Skip to content
Docs Try Aspire

SessionAffinityConfigV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
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.