
Explanation:
The correct answer is to use the gcloud container clusters resize command for resizing your Kubernetes cluster, as specified in the GCP documentation. This command allows you to adjust the number of nodes in your cluster efficiently. The kubectl command does not support cluster resizing, making option B incorrect. Manually editing the managed instance group or enabling autoscaling (options A and C) are not the recommended methods for resizing a Kubernetes cluster directly.
Ultimate access to all questions.
Your Kubernetes cluster, currently with a single node-pool, is experiencing high traffic and requires expansion. You've decided to add a node. What is the correct approach to achieve this?
A
Edit the managed instance group of the cluster and increase the number of VMs by 1.
B
Use kubectl container clusters resize with the desired number of nodes.
C
Edit the managed instance group of the cluster and enable autoscaling.
D
Use gcloud container clusters resize with the desired number of nodes.
No comments yet.