
Answer-first summary for fast verification
Answer: gcloud components install kubectl
The correct command to install kubectl using gcloud is `gcloud components install kubectl`. This is crucial because kubectl is the Kubernetes command-line tool that allows you to run commands against Kubernetes clusters on GKE, while gcloud commands are used to interact with GCP resources for creating and managing clusters.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
After downloading the SDK kit from Google, you're ready to manage containers on GKE using gcloud. Which command should you use to install kubectl in the CLI?
A
gcloud components install components kubectl
B
gcloud components kubectl install
C
gcloud components install kubectl
D
gcloud components install components kubernetes