firas messaoudi
firas messaoudi

Reputation: 37

Aks : whitelist external Ips

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: enter image description here

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.

Upvotes: 0

Views: 469

Answers (1)

firas messaoudi
firas messaoudi

Reputation: 37

I fixed the problem by adding --set controller.service.externalTrafficPolicy=Local to the install command of the ingress.

Upvotes: 1

Related Questions