You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
will not trigger an config reload. Therefore the cookiename stays FOO. If one restarts the nginx-controllers or changes something like the the rules section (f.e. changing a path) the config is picked up normally (including the annotation, so that the cookie is then BAR).
What you expected to happen:
In nginx-ingress-controller:0.21.0 the config is reloaded when changing the annotation. I would expect the same behaviour.
How to reproduce it (as minimally and precisely as possible):
Also the issue was discovered while testing version 0.22.0 - the same config works fine with 0.21.0.
For the logs:
I can neither see any of those: No configuration change detected, skipping backend reload. Configuration changes detected, backend reload required. Backend successfully reloaded.
The text was updated successfully, but these errors were encountered:
msiuts
changed the title
No reload when changing annotations (f.e.
No config reload is triggered when changing annotations (f.e. nginx.ingress.kubernetes.io/session-cookie-name)
Feb 5, 2019
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
No.
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
reload
annotations
config reload
BUG REPORT:
NGINX Ingress controller version:
quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.22.0
Kubernetes version (use
kubectl version
):What happened:
When changing the annotation on an ingress the config is not reloaded, for example:
Changing
to
will not trigger an config reload. Therefore the cookiename stays
FOO
. If one restarts the nginx-controllers or changes something like the therules
section (f.e. changing apath
) the config is picked up normally (including the annotation, so that the cookie is thenBAR
).What you expected to happen:
In
nginx-ingress-controller:0.21.0
the config is reloaded when changing the annotation. I would expect the same behaviour.How to reproduce it (as minimally and precisely as possible):
It should be easily reproducible with something like https://github.com/kubernetes/ingress-nginx/blob/master/docs/examples/affinity/cookie/ingress.yaml - my configuartion looks nearly the same, but has two rules which does not seem to matter.
Also the issue was discovered while testing version 0.22.0 - the same config works fine with 0.21.0.
For the logs:
I can neither see any of those:
No configuration change detected, skipping backend reload.
Configuration changes detected, backend reload required.
Backend successfully reloaded.
The text was updated successfully, but these errors were encountered: