Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
As a member of the Kubernetes and Infrastructure Admin team for a digital news app, you're managing a GKE cluster named 'prod'. What's the best way to configure your local gcloud CLI to default to this cluster for all commands?
A
Execute the command gcloud config set container/cluster prod to set 'prod' as the default cluster.
gcloud config set container/cluster prod
B
Use the command gcloud container clusters update prod to update the cluster settings.
gcloud container clusters update prod
C
Place a file named gke.default with the cluster name in the ~/.gcloud directory.
gke.default
~/.gcloud
D
Create a defaults.json file in the ~/.gcloud directory containing the cluster name.
defaults.json