diff --git a/docs/concepts/services-networking/service.md b/docs/concepts/services-networking/service.md index 1d348bd60c..a081ffd250 100644 --- a/docs/concepts/services-networking/service.md +++ b/docs/concepts/services-networking/service.md @@ -176,7 +176,9 @@ or `Services` or `Pods`. By default, the choice of backend is round robin. Client-IP based session affinity can be selected by setting `service.spec.sessionAffinity` to `"ClientIP"` (the -default is `"None"`). +default is `"None"`), and you can set the max session sticky time by setting the field +`service.spec.sessionAffinityConfig.clientIP.timeoutSeconds` if you have already set +`service.spec.sessionAffinity` to `"ClientIP"` (the default is "10800"). ![Services overview diagram for userspace proxy](/images/docs/services-userspace-overview.svg) @@ -191,7 +193,9 @@ select a backend `Pod`. By default, the choice of backend is random. Client-IP based session affinity can be selected by setting `service.spec.sessionAffinity` to `"ClientIP"` (the -default is `"None"`). +default is `"None"`), and you can set the max session sticky time by setting the field +`service.spec.sessionAffinityConfig.clientIP.timeoutSeconds` if you have already set +`service.spec.sessionAffinity` to `"ClientIP"` (the default is "10800"). As with the userspace proxy, the net result is that any traffic bound for the `Service`'s IP:Port is proxied to an appropriate backend without the clients