How to tag and label Google GCP load balancers?

Viewed 1879

I am not seeing an option to tag google load balancers. I can do it for compute instances. How can I tag LBs ?

Regards,

Muhammed Roshan

2 Answers

It is now also possible to set labels on load balancer forwarding rules (as well as on static external IP addresses and VPN tunnels)

E.g.

gcloud compute forwarding-rules update my-ilb --update-labels=key=value

Please check for more details in the gcloud reference documentation.

Related