Code Monkey home page Code Monkey logo

Comments (12)

longwuyuan avatar longwuyuan commented on September 26, 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 September 26, 2024

/assign

from ingress-nginx.

longwuyuan avatar longwuyuan commented on September 26, 2024

@isniukArte did you use geoip1 earlier ?

from ingress-nginx.

longwuyuan avatar longwuyuan commented on September 26, 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 September 26, 2024

/remove-priority important-longterm

from ingress-nginx.

longwuyuan avatar longwuyuan commented on September 26, 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 September 26, 2024

@isniukArte did you use geoip1 earlier ?

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

from ingress-nginx.

longwuyuan avatar longwuyuan commented on September 26, 2024

ok
image

from ingress-nginx.

Gacko avatar Gacko commented on September 26, 2024

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.

k8s-ci-robot avatar k8s-ci-robot commented on September 26, 2024

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

isniukArte avatar isniukArte commented on September 26, 2024

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.

Gacko avatar Gacko commented on September 26, 2024

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)

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.