Cloud API Overview > @adpt/cloud > k8s > ServiceSpec > sessionAffinity
k8s.ServiceSpec.sessionAffinity property
Used to maintain session affinity.
Signature:
sessionAffinity?: string;
Remarks
Possible values are:
"ClientIP"
: Enables client IP based session affinity."None"
: Disables session affinity.
For more information, see the Kubernetes documentation.