Using Console
Using CLI
[CLUSTER_NAME]
and [ZONE]
with the name and zone of your cluster.[CLUSTER_NAME]
, [ZONE]
, and [CIDR_BLOCK]
with your own values. You can specify multiple CIDR blocks separated by commas.Using Python
cidrBlocks
list to include the authorized networks for your specific use case.Note: This code assumes that you have the necessary permissions to modify the cluster configuration.