Giter Site home page Giter Site logo

Comments (12)

longwuyuan avatar longwuyuan commented on June 2, 2024

/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.

longwuyuan avatar longwuyuan commented on June 2, 2024

/assign

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 2, 2024

@isniukArte did you use geoip1 earlier ?

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 2, 2024

@rikatz @tao12345666333 @cpanato @strongjz The nginx.tmpl in the image is not even containing the if condition for the reload value

image

But the src of the base image has the if condition

auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m;

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.

longwuyuan avatar longwuyuan commented on June 2, 2024

/remove-priority important-longterm

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 2, 2024

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 avatar isniukArte commented on June 2, 2024

@isniukArte did you use geoip1 earlier ?

Nope, but I think it already doesn't matter.

from ingress-nginx.

longwuyuan avatar longwuyuan commented on June 2, 2024

ok
image

from ingress-nginx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.