Add session affinity to ingress

This commit is contained in:
Jonny Ervine 2023-09-25 21:33:36 +08:00
parent 80e12dcd8e
commit 5ed62d1377

View File

@ -566,6 +566,10 @@ annotations:
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "http-cookie"
nginx.ingress.kubernetes.io/session-cookie-expires: "172800"
nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
# Kubernetes service account to create/use.
serviceAccount: