Comments (12)
- I can reproduce this with value set to 2, "2" or 2m
- Wait for comments from @rikatz @tao12345666333
cc @cpanato
/triage accepted
/priority important-longterm
I suspect that geoip1 was accepting int value but i think upstream changed and that geoip2 module expects "time"
value like "2m"
, as per this https://github.com/leev/ngx_http_geoip2_module#example-usage (like auto_reload 2m;)
from ingress-nginx.
/assign
from ingress-nginx.
@isniukArte did you use geoip1 earlier ?
from ingress-nginx.
@rikatz @tao12345666333 @cpanato @strongjz The nginx.tmpl in the image is not even containing the if condition for the reload value
But the src of the base image has the if condition
So this is confirmed a bug. The annotation https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#geoip2-autoreload-in-minutes is definitely broken
/priority important-soon
from ingress-nginx.
/remove-priority important-longterm
from ingress-nginx.
ok, the root-cause is clear now. The PR #11079 that introduces that if condition for the reload time is not cherry-picked into the branch release-1.10, from which this controller version was released
@Gacko @strongjz @rikatz @tao12345666333 @cpanato Please comment on chery-picking PR #11079 (or using another way) to pull these changes to the branch release-1.10
from ingress-nginx.
@isniukArte did you use geoip1 earlier ?
Nope, but I think it already doesn't matter.
from ingress-nginx.
from ingress-nginx.
This is not a feature of the latest release. There has been some trouble with the tag, but the actual release and the according release branch release-1.10
do not include that feature for good, as this is a feature and not only a patch.
/close
from ingress-nginx.
@Gacko: Closing this issue.
In response to this:
This is not a feature of the latest release. There has been some trouble with the tag, but the actual release and the according release branch
release-1.10
do not include that feature for good, as this is a feature and not only a patch./close
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-sigs/prow repository.
from ingress-nginx.
This is not a feature of the latest release. There has been some trouble with the tag, but the actual release and the according release branch
release-1.10
do not include that feature for good, as this is a feature and not only a patch./close
I saw that it wasn't mentioned in the release notes.
But, I picked it up from the official documentation: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/ That's why I decided it should work.
from ingress-nginx.
The documentation is built on the main
branch. That's an issue we are aware of and want to improve in the future.
from ingress-nginx.
Related Issues (20)
- Turn off returning HTTP OK for /healthz endpoint during preStop hook to allow AWS NLB unhealthy draining HOT 9
- preStop hook should account for AWS NLB deregistration delay HOT 4
- Some metrics are not exposed HOT 7
- LibreSSL/3.3.6: error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version - protocol issue HOT 6
- Re-add global-rate-limit feature HOT 4
- Sticky learn and Wildfly HOT 5
- disableLeaderElection code changes missing in nginx-ingress-controller-v1.10.4 HOT 4
- Version 1.11.2 not work on RKE HOT 9
- Pod IP Address/Name is not visible into ingress-nginx access-logs HOT 15
- Not able to use LUA script HOT 8
- Adding configuration-snippet causes nginx to stop passing SSL_CLIENT_CERT header. HOT 3
- find CVE-2024-45310 at controller-v1.10.4 HOT 2
- Corner Case: upstream name duplication causing ingress pointing to wrong service HOT 7
- Corner Case: upstream name duplication causing ingress pointing to wrong service [following issue template] HOT 23
- Openresty throwing error 413: Request entity too large HOT 9
- kubectl plugin action always fails HOT 1
- Pod can't be started with sysctls custom settings HOT 15
- Nginx Controller does not update configuration while recreating service. HOT 16
- CVE-2024-6119 in controller:v1.11.2 HOT 3
- Upgrade nginx version to 1.26.2, 1.27.1 or later since 1.25.5 is having vulnerabilities. HOT 4
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.