A

Admin • 833.24K Points
Coach

Q. What is the primary function of `kubectl config use-context`?

  • (A) Deletes a cluster context
  • (B) Displays all contexts
  • (C) Switches the current context to the specified one
  • (D) Validates the current kubeconfig file
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category Kubernetes
  • Hashtags:

Explanation by: Admin

It sets the active context to interact with the specified Kubernetes cluster.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.