-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature(geoip2_autoreload): Enable GeoIP2 auto_reload config #11079
feature(geoip2_autoreload): Enable GeoIP2 auto_reload config #11079
Conversation
Hi @msfidelis. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
✅ Deploy Preview for kubernetes-ingress-nginx canceled.
|
I need more time to study geoip2 and MaxMind databases. I will open the PR for help and community suggestions. |
/ok-to-test |
@msfidelis please review the panics in the e2e tests. /assign @strongjz |
feature(geoip2_autoreload): fix lint feature(geoip2_autoreload): changing flag interval feature(geoip2_autoreload): tests - up and running feature(geoip2_autoreload): tests - up and running feature(geoip2): testing feature(geoip2): remove typo feature(geoip2_autoreload): fixing tests
fc806ce
to
c4ac9de
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msfidelis, strongjz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I am curious what the impetus to add this was. There is already an event-driven reload here: ingress-nginx/internal/ingress/controller/nginx.go Lines 183 to 215 in 48fbdfe
In some installations, I've found the file-change detection isn't reloading the geoip db in nginx. Curious if you also encountered that and that's why you added the new config. We probably need to fix or remove the event-driven approach if I'm not the only one with the problem. |
What this PR does / why we need it:
Types of changes
Which issue/s this PR fixes
fixes #8784
How Has This Been Tested?
Checklist: