Skip to content

Commit 62d9325

Browse files
committed
BZ-1933972: Adding cookie setting section from 3.x to 4.x
1 parent 8d21ea4 commit 62d9325

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/nw-using-cookies-keep-route-statefulness.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@ for the session. The cookie is passed back in the response to the request and
1919
the user sends the cookie back with the next request in the session. The cookie
2020
tells the Ingress Controller which endpoint is handling the session, ensuring
2121
that client requests use the cookie so that they are routed to the same pod.
22+
23+
[NOTE]
24+
====
25+
Cookies cannot be set on passthrough routes, because the HTTP traffic cannot be seen. Instead, a number is calculated based on the source IP address, which determines the backend.
26+
27+
If backends change, the traffic can be directed to the wrong server, making it less sticky. If you are using a load balancer, which hides source IP, the same number is set for all connections and traffic is sent to the same pod.
28+
====

0 commit comments

Comments
 (0)