<p>We are attempting to make several private Kubernetes clusters. We can find limited documentation on specific settings for the private cluster, therefore we are running into issues related to the subnetwork IP ranges. </p>

<p>Say we have 3 clusters: We set the Master Address Range to 172.16.0.0/28, 172.16.0.16/28 and 172.16.0.32/28 respectively.</p>

<p>We leave Network and Subnet set to "default". We are able to create 2 clusters that way, however, upon spin-up of the 3rd cluster, we receive the error of "Google Compute Engine: Exceeded maximum supported number of secondary ranges per subnetwork: 5." We suspect that we are setting up the subnetwork IP ranges incorrectly, but we are not sure what we are doing wrong, or why there is more than 1 secondary range per subnetwork, to begin with. </p>

<p>Here is a screenshot of the configuration for one of the clusters:
<a href="https://i.stack.imgur.com/Tlp5Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tlp5Z.png" alt="kubernetes configuration screenshot"></a></p>

<p>We are setting these clusters up through the UI.</p>

<blockquote>
  <p>For anyone who lands here from Google and is wondering how to list / see the subnet names that have been created using GKE as described in OP's question:</p>
</blockquote>

<p>To list subnets for a region (and potentially modify or delete a Subnet, since you won't know the name) use the beta gcloud command:</p>

<p><code>gcloud beta container subnets list-usable</code></p>

<p>I landed here while looking for the answer and figured others trying to determine the best way to structure their subnets / ranges might be able to use the above command (which took me forever to track down).</p>
