How can I limit access to a website (sonar) that is deployed in a gke cluster to only be accessible by an IP range??
Can I do it with an Internal LoadBalancer?? Or do I have to enable Network Policy?
You can check nginx-ingress with the following annotation
nginx.ingress.kubernetes.io/whitelist-source-range
Another option check cloud armor.
Third-party example .