From 341102275c2de8cd4acc58eac6642257e1dc51a0 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Thu, 23 Nov 2023 16:46:45 +0100 Subject: [PATCH] Configuration: Remove `nginx.ingress.kubernetes.io/session-cookie-hash`. Deprecated: https://github.com/kubernetes/ingress-nginx/pull/3743 --- .../advanced/connectivity/ingress/configuration/index.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/content/advanced/connectivity/ingress/configuration/index.md b/src/content/advanced/connectivity/ingress/configuration/index.md index 05263b1c7a..1ea09e85d2 100644 --- a/src/content/advanced/connectivity/ingress/configuration/index.md +++ b/src/content/advanced/connectivity/ingress/configuration/index.md @@ -349,10 +349,6 @@ The annotation `nginx.ingress.kubernetes.io/affinity` enables and sets the affin If you use the `cookie` type you can also specify the name of the cookie that will be used to route the requests with the annotation `nginx.ingress.kubernetes.io/session-cookie-name`. The default is to create a cookie named `route`. -The annotation `nginx.ingress.kubernetes.io/session-cookie-hash` defines which algorithm will be used to hash the used upstream. Default value is `md5` and possible values are `md5`, `sha1` and `index`. - -The `index` option is not hashed, an in-memory index is used instead, it's quicker and the overhead is shorter. Warning: The matching against the upstream servers list is inconsistent. So, at reload, if upstreams servers have changed, index values are not guaranted to correspond to the same server as before! Use with caution and only if you need to! - This feature is implemented by the third party module [nginx-sticky-module-ng](https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng). The workflow used to define which upstream server will be used is explained in the [module documentation (PDF)](https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/raw/08a395c66e425540982c00482f55034e1fee67b6/docs/sticky.pdf). ### Configuration snippets