Google Professional Cloud Network Engineer Question 333
Select 2Google Cloud PlatformYou are managing a GKE cluster that is nearing its Pod IP range limit due to increased workloads. You need to add an additional Pod range to the cluster to accommodate more Pods. Which of the following steps must you take to successfully configure the additional Pod range for the cluster?
- A
Enable the GKE Pod IP range expansion feature in your cluster.
- B
Use the
gcloud container clusters updatecommand with the--enable-ip-aliasflag to add a secondary IP range for Pods. - C
Create a new secondary IP range in the VPC network associated with the cluster.
- D
Configure the new secondary IP range as an additional Pod range using the
--additional-pod-rangesflag. - E
Restart all existing Pods in the cluster to use the new Pod range.
Show answer and explanation
Correct answers: C, D
Explanation
To add an additional Pod range to a GKE cluster, you must first create a new secondary IP range in the associated VPC network. Then, you need to configure this secondary IP range as an additional Pod range by updating the cluster using the --additional-pod-ranges flag. This allows the cluster to allocate more Pod IPs without restarting existing Pods or enabling any special features.
- A. Incorrect.
This is incorrect because there is no specific feature called 'GKE Pod IP range expansion'. Adding an additional Pod range does not require enabling any special feature.
- B. Incorrect.
This is incorrect because the
--enable-ip-aliasflag is used during cluster creation, not for adding additional Pod ranges to an existing cluster. - C. Correct.
This is correct because a new secondary IP range in the VPC network is required to allocate additional Pod IPs for the cluster.
- D. Correct.
This is correct because the new secondary IP range must be specified as an additional Pod range using the
--additional-pod-rangesflag. - E. Incorrect.
This is incorrect because existing Pods will continue to use their current IPs until they are redeployed. Restarting existing Pods is not a mandatory step for adding an additional Pod range.