Reputation: 163
We have created a GKE service of type Internal Load balancer. Now we have to whitelist a specific set of IPs outside of VPC network to access that service. How can it be achieved?
Upvotes: 1
Views: 683
Reputation: 1235
Have a look at the GKE Internal Load Balancing documentation:
Internal TCP/UDP Load Balancing makes your cluster's services accessible to applications outside of your cluster that use the same VPC network and are located in the same Google Cloud region.
Therefore, Internal Load Balancer is not accessible externally.
Instead, you can expose your GKE application using Services or Ingress as described here.
You can find more details on these solutions - 1, 2.
Upvotes: 1