Comments (7)
Maxmind have also recently introduced a download limit of 30 times per 24 hours (for the free editions), this means if you are running several ingresses + nginx instances requiring the database you can hit this limit quite quickly, I tried to work around this by setting an extra arg to the ingress controller for maxmind mirror, but this does not seem to work, I have uploaded the databases to a custom location and they are in tar.gz
format, which is what the code in maxmind.go
suggests, but I then get:
I0325 12:55:13.424947 7 flags.go:387] "downloading maxmind GeoIP2 databases"
E0325 12:55:13.770916 7 maxmind.go:74] GeoLite2-City.mmdb not found
E0325 12:55:13.794877 7 maxmind.go:74] GeoLite2-City.mmdb not found
from ingress-nginx.
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.
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.
from ingress-nginx.
Looks like it does download the db in the flag processing, like your logs say
https://github.com/kubernetes/ingress-nginx/blob/main/pkg/flags/flags.go#L400
It should error out @ufou if there is an issue with the download.
Can you exec into the container and see if the file does exist?
from ingress-nginx.
Maxmind have also recently introduced a download limit of 30 times per 24 hours (for the free editions), this means if you are running several ingresses + nginx instances requiring the database you can hit this limit quite quickly, I tried to work around this by setting an extra arg to the ingress controller for maxmind mirror, but this does not seem to work, I have uploaded the databases to a custom location and they are in
tar.gz
format, which is what the code inmaxmind.go
suggests, but I then get:I0325 12:55:13.424947 7 flags.go:387] "downloading maxmind GeoIP2 databases" E0325 12:55:13.770916 7 maxmind.go:74] GeoLite2-City.mmdb not found E0325 12:55:13.794877 7 maxmind.go:74] GeoLite2-City.mmdb not found
Can you post a snippet of your deployment manifest?
from ingress-nginx.
Looks like it does download the db in the flag processing, like your logs say
https://github.com/kubernetes/ingress-nginx/blob/main/pkg/flags/flags.go#L400
It should error out @ufou if there is an issue with the download.
Can you exec into the container and see if the file does exist?
What is the expected format for --maxmind-mirror
?
Is it a URL pointing to the database in a .tar.gz format?
Or do you have to use https://www.npmjs.com/package/maxmind-geolite-mirror?
from ingress-nginx.
I set a plain URL for the maxmind mirror parameter and had both required databases named like GeoLite2-City.tar.gz
GeoLite2-ASN.tar.gz
but perhaps the requirement was to have both databases in a single tar.gz file named in a similar convention to the real maxmind download servers instead? I don't think I tried that, we have worked around this anyway by signing up for a 2nd maxmind account, if I get round to testing this I will report back
from ingress-nginx.
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.
from ingress-nginx.
Related Issues (20)
- make nginx-1.9.3-hardened1 error HOT 3
- Connection timed out for controller Pods. HOT 2
- Text Streaming not working when using Nginx-Ingress on Kubernetes HOT 7
- doc error about traffic mirror HOT 3
- Helm: Use OCI-based registries HOT 8
- removing ingress Nginx default résponse header HOT 11
- py-lmdb CVE-2019-16224, CVE-2019-16225, CVE-2019-16226, CVE-2019-16227 HOT 8
- Convert multiple path rewrite rules from default.conf to ingress-nginx.yaml HOT 15
- Usage of GeoIP2 variables CRASH the ingress in case maxmind-license is out of download quota (or download fails) HOT 6
- Support per-ingress opentelemetry service naming HOT 2
- GeoIP2 files present in /etc/ingress-controller/geoip, but the controller logs show "GeoLite2-City.mmdb not found" HOT 5
- Route53 DNS problems HOT 6
- tls: failed to verify certificate: x509 HOT 4
- ginkgo bump requirement reported in CI e2e HOT 3
- Add annotation for per-Ingress upstream-keepalive-connections HOT 3
- Vulnerability CVE-2023-44487 in NGINX 1.21.6 reported for controller-v1.9.6 HOT 7
- ingress-nginx chart + terraform = Invalid value: "integer": spec.triggers[1].metadata.value in body must be of type string: "integer" HOT 8
- Possibility to customize the format of error logs and controller logs HOT 2
- GRPCBufferSizeKb Templating Error on 1.10.1 HOT 4
- AWS nginx-ingress-controller context error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ingress-nginx.