Sabir Piludiya
Sabir Piludiya

Reputation: 309

Kubernetes Loadbalancer External IP expose to only specific cluster

I have setup the Loadbalancer service in kubernetes cluster. It's providing external IP address. I need to access that IP only from another cluster and restrict external IP access from anywhere. So that it can accessed only from two places, own cluster and another cluster.

Upvotes: 0

Views: 181

Answers (1)

Sabir Piludiya
Sabir Piludiya

Reputation: 309

I have used loadBalancerSourceRanges to filter the range and specified the IPs of another cluster instances. It worked.

Upvotes: 1

Related Questions