Share via


ServiceSpecV1.SessionAffinityConfig Property

Definition

Represents the session affinity configuration for a Kubernetes Service.

[YamlDotNet.Serialization.YamlMember(Alias="sessionAffinityConfig")]
public Aspire.Hosting.Kubernetes.Resources.SessionAffinityConfigV1? SessionAffinityConfig { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="sessionAffinityConfig")>]
member this.SessionAffinityConfig : Aspire.Hosting.Kubernetes.Resources.SessionAffinityConfigV1 with get, set
Public Property SessionAffinityConfig As SessionAffinityConfigV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property specifies the configuration details of session affinity, which ensures that requests from a client are directed to the same backend pod. This is typically used for stateful applications requiring client-based stickiness.

Applies to