Updating GeoIP2 data outputs many logs of "File changed detected. Reloading NGINX" #11080
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
When I start ingress-nginx with the folloing settings and update GeoIP2 data, ingress-nginx outputs many logs of
File changed detected. Reloading NGINX
.use-geoip: 'false
use-geoip2: 'true
/etc/ingress-controller/geoip
What you expected to happen:
File change detection and nginx reloading should be once per a file change.
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
uname -a
):Linux blade 6.5.0-21-generic #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
How to reproduce this issue:
You need to prepare GeoLite2-City.mmdb that need MaxMind account.
A part of the logs:
If hostPath mounts directory to the Pod and update local mounted files using the folloing setting, there is no output in logs.
The text was updated successfully, but these errors were encountered: