Exam4Training

What should you do?

You want to enable your running Google Kubernetes Engine cluster to scale as demand for your application changes.

What should you do?
A . Add additional nodes to your Kubernetes Engine cluster using the following command:
gcloud container clusters resize
CLUSTER_Name C -size 10
B . Add a tag to the instances in the cluster with the following command:
gcloud compute instances add-tags
INSTANCE – -tags enable­-
autoscaling max-nodes-10
C . Update the existing Kubernetes Engine cluster with the following command:
gcloud alpha container clusters
update mycluster – -enable­
autoscaling – -min-nodes=1 – -max-nodes=10

D . Create a new Kubernetes Engine cluster with the following command:
gcloud alpha container clusters
create mycluster – -enable­-
autoscaling – -min-nodes=1 – -max-nodes=10
and redeploy your application

Answer: C

Explanation:

References: https://cloud.google.com/sdk/gcloud/reference/container/clusters/create

Exit mobile version