Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCloud Firewall rules on network load balancer

I just deployed a container with kubernetes to google cloud and all is working except that I couldn't figure out how I can apply default network rules to network load balancer to restrict accesses per incoming ip address.

I see that underlying instance group has the firewall rules applied but not to the service.

Any help is appreciated

like image 354
East2West Avatar asked Feb 19 '26 13:02

East2West


1 Answers

It appears that kubernetes server "load balancer" creation automatically creates firewall rule on a given port for 0.0.0.0/0 and it is attached to instance template and that template is used to spin off GCEs.

like image 174
East2West Avatar answered Feb 21 '26 14:02

East2West