Ultimate access to all questions.
After setting up a GKE cluster named 'devops', you need to obtain authentication credentials to interact with it. Which CLI command correctly achieves this? (Select One)
Explanation:
To interact with your newly created GKE cluster 'devops', you must obtain authentication credentials. This is accomplished using the gcloud
command, not kubectl
. The correct syntax is gcloud container clusters get-credentials devops
, which configures kubectl
to use the specified cluster.