<p>i have deployed my application in aks and used ingress to expose the services externally , but i need to restrict the access to my application to some IPs , i ready something about whitelist Ips, i tried add my ip in my ingress like this:
<a href="https://i.stack.imgur.com/wlIZb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wlIZb.png" alt="enter image description here" /></a></p>
<p>but when acces the app from my machine i got 403 forbidden , so i guess that i'm not using the right Ip adress.
So what ip should i put exactly in the ingress.</p>

firas messaoudi
<p>I fixed the problem by adding --set controller.service.externalTrafficPolicy=Local to the install command of the ingress.</p>
