ServiceSpecV1.SessionAffinityConfig Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.