针对同一服务/端口的无关入口:不遵守会话粘性标注

作者: mitchese创建于 2024年11月21日更新于 2026年2月3日
标签kind/supporttriage/needs-informationneeds-triageneeds-priority

What happened:

We have two ingresses on separate hostnames that target the same service and port. When we annotated the second ingress with nginx.ingress.Kubernetes.io/upstream-hash-by: $remote_addr

this was not added to the nginx configuration and session stickyness did not work.

内容来源: kubernetes/ingress-nginx