Skip to main content

Loadbalancer-rancher

go to

Service Discovery -> Ingresses

ingress-edit.jpg

Edit

Select Add annotations

ingress-annotation.jpg

Whitelist

To allow only the RUG IP or range to the deployment you can use the folowing annotation :

ingress-annotation2.jpg

Save & Done

For more examples see :

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/