Is there a way to provide custom value other than ClientIP for sessionAffinity in kubernetes?
As you can read here, it currently supports only ClientIP
and None
values.
sessionAffinity string Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
Unfortunatelly there are no other values allowed.