Open atuk721 opened 4 months ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
once the cp
is finished does it still reload?
No. It logs about 750 lines of "File changed detected. Reloading NGINX" in 100ms and stops to log.
Start line
I0329 09:16:03.853384 7 nginx.go:207] "File changed detected. Reloading NGINX" path="/etc/ingress-controller/geoip/GeoLite2-City.mmdb"
End line
I0329 09:16:03.946326 7 nginx.go:207] "File changed detected. Reloading NGINX" path="/etc/ingress-controller/geoip/GeoLite2-City.mmdb"
Total 757 lines.
This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #ingress-nginx-dev
on Kubernetes Slack.
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.