fix typo stickyness to stickiness (#2039)

This commit is contained in:
Jianfeng Li 2018-02-07 23:23:06 +08:00 committed by Manuel Alejandro de Brito Fontes
parent 13c1f2d2b4
commit e03d1293f9

View file

@ -4,7 +4,7 @@ This example demonstrates how to achieve session affinity using cookies
## Deployment ## Deployment
Session stickyness is achieved through 3 annotations on the Ingress, as shown in the [example](ingress.yaml). Session stickiness is achieved through 3 annotations on the Ingress, as shown in the [example](ingress.yaml).
|Name|Description|Values| |Name|Description|Values|
| --- | --- | --- | | --- | --- | --- |
@ -55,7 +55,7 @@ Last-Modified: Tue, 24 Jan 2017 14:02:19 GMT
ETag: "58875e6b-264" ETag: "58875e6b-264"
Accept-Ranges: bytes Accept-Ranges: bytes
``` ```
In the example above, you can see a line containing the 'Set-Cookie: route' setting the right defined stickyness cookie. In the example above, you can see a line containing the 'Set-Cookie: route' setting the right defined stickiness cookie.
This cookie is created by NGINX containing the hash of the used upstream in that request. This cookie is created by NGINX containing the hash of the used upstream in that request.
If the user changes this cookie, NGINX creates a new one and redirect the user to another upstream. If the user changes this cookie, NGINX creates a new one and redirect the user to another upstream.