Welcome! Log In Create A New Profile

Advanced

Ingress whitelist configuration problem in kubernetes

July 15, 2020 11:16AM
I am working with a nginx ingress controller, inside kubernetes as a Daemon set. To enable whitelisting add the following parameter inside the configmap: whitelist-source-range with the ips that I want to allow separated by (,) commas. When doing this I tried to access from one of the ips but the result was an error 403. Searching I found the recommendation to change in the service the parameter externalTrafficPolicy to local, make this change but it still doesn't work.
Enter one of the pod to verify the modules and there is a modules folder but the module does not appear in it: ngx_http_access_module, so I was left with the doubt if this may be the cause of the problem. The installation of the income is done through helm v2.16.1 stable version like this:
helm install stable / nginx-ingress --name ingress --values ‚Äč‚Äčingress-config.yml --namespace kube-system
Any recommendation?
Subject Author Posted

Ingress whitelist configuration problem in kubernetes

oriano July 15, 2020 11:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 78
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready