<p>When using the google cloud console, I can navigate to my GKE cluster in the browser and see/edit the &quot;control plane authorized networks&quot; like this:</p>
<p><a href="https://i.stack.imgur.com/H5BaR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H5BaR.png" alt="enter image description here" /></a></p>
<p>I've blurred the image, but essentially what you see is a list of &quot;display name&quot; - &quot;cidr block&quot; pairs. From the command line, I you can update the authorized networks using:</p>
<pre><code>gcloud container clusters update CLUSTER_NAME --region=REGION \
     --enable-master-authorized-networks \
     --master-authorized-networks=59.28.227.255/32,59.28.227.254/32
</code></pre>
<p>But I also want to specify a display name for each CIDR block. How can I specify a display name when updating the authorized networks for a GKE cluster from the command line?</p>

Johan
<p>At the moment, it is not possible to specify a display name when adding a new master authorized network or when modifying an existing one using the gcloud command. A workaround would be to do it through the console.</p>
<p>To <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/authorized-networks#add" rel="nofollow noreferrer">add an authorized network to an existing cluster</a>:</p>
<ol>
<li>Go to the Google Kubernetes Engine page in the Google Cloud console.</li>
<li>Click the name of the cluster you want to modify.</li>
<li>Under Networking, in the Control plane authorized networks field, click <code>Edit control plane authorized networks</code>.</li>
<li>Select the <code>Enable control plane authorized networks checkbox</code>.</li>
<li>Click Add authorized network.</li>
<li>Enter a <code>Name</code> for the network.</li>
<li>For Network, enter a CIDR range that you want to grant access to your cluster control plane.</li>
<li>Click Done. Add additional authorized networks as needed.</li>
<li>Click Save Changes.</li>
</ol>
<p>To add a display name to an existing authorized network in an existing cluster</p>
<ol>
<li>Click the name of the cluster you want to modify.</li>
<li>Under Networking, in the Control plane authorized networks field, click <code>Edit control plane authorized networks</code>.</li>
<li>Select the Enable control plane authorized networks checkbox.</li>
<li>Click the <code>drop down arrow</code> next to the existing authorized network that you want to name</li>
<li>Add the name of the authorized network</li>
<li>Click Done and Save Changes</li>
</ol>
<p>Meanwhile, a feature request has been submitted to address the limitation. To stay updated on the status and progress of this feature request, please follow this <a href="https://issuetracker.google.com/issues/123983759" rel="nofollow noreferrer">link</a> to access the feature request page. Once there, click on the <code>+1</code> and <code>star</code> buttons to receive notifications regarding any updates.</p>
