Skip to content
Docs Try Aspire
Docs Try

SessionAffinityConfigV1

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