Google Cloud Associate Cloud Engineer — Question 126
You are running multiple VPC-native Google Kubernetes Engine clusters in the same subnet. The IPs available for the nodes are exhausted, and you want to ensure that the clusters can grow in nodes when needed. What should you do?
Answer options
- A. Create a new subnet in the same region as the subnet being used.
- B. Add an alias IP range to the subnet used by the GKE clusters.
- C. Create a new VPC, and set up VPC peering with the existing VPC.
- D. Expand the CIDR range of the relevant subnet for the cluster.
Correct answer: D
Explanation
The correct answer is to expand the CIDR range of the relevant subnet for the cluster, as it directly increases the number of available IP addresses for nodes. Creating a new subnet or VPC does not resolve the immediate IP exhaustion issue in the existing subnet, and adding an alias IP range may not be sufficient for significant growth.